HyperbolaFunction
FunctionWithCachingFunctionRepresents an immutable hyperbolic function in the form y = (ax + b) + (d/(x - c))
Constructors
Properties
Derivative
Gets a function which is the derivative of this function. The returned function may be either analytic or approximate.
Overrides: Function.Derivative
Integral
Gets a function which is the indefinite integral of this function. The returned function may be analytic or approximate. Note that numeric approximation of indefinite integrals is a slow and not particularly high quality process.
Overrides: Function.Integral
Methods
AutoCoDomain
Compute the automatic codomain for a given domain.
DomainEstimate
#Return an estimate of the interesting part of a function. Each function may choose how to answer this question individually.
Parameters:
| x0 (out double) | Lowest x coordinate of interest. |
| x1 (out double) | Highest x coordinate of interest. |
| y0 (out double) | Lowest y coordinate of interest. |
| y1 (out double) | Highest y coordinate of interest. |
Overrides: Function.DomainEstimate
Holes
Returns a collection of domains for which this function is not defined. This method may return null or an empty array, implying no undefined domains. This method may also return domains outside of the specified interval.
Integrate
Evaluate the definite integral between two parameters. Unless a function specifically implements an analytic integral, this value will be approximate. Note to implementer: if you provide an analytic integral via the Function.Integral property, that function will be used to compute an analytic result. There is typically no reason to override this method.
Poles
#Overrides: Function.Poles
YYYY
Evaluate a large amount of values. Functions may choose to use multiple threads to perform this calculation. This method should not throw, instead every failed evaluation will be represented by a NaN value.
Parameters:
| x (double[]) | Value to evaluate. |
Returns: Evaluation results. Array will contain double.NaN entries for failed evaluations.