DerivativeFunction
FunctionF<1>FunctionWithCachingFunction[IoId("00000000-E7EF-4CA4-BA45-593FB17B0A3A")]
public sealed class DerivativeFunction : FunctionF<Function>
The derivative of a function.
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
F
public T1 F { get; }
First operand.
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
Notation
Gets the notation for this function. Notation is aimed at humans and does not need to return a parseable string.
Overrides: Function.Notation
Methods
Asymptotes
Returns an array of *all* the non-vertical asymptotes for this function. This property may return both null and empty arrays, implying no asymptotes. Due to the nature of non-vertical asymptotes, there can only be a finite amount of them.
AutoCoDomain
Compute the automatic codomain for a given domain.
DomainEstimate
Overrides: Function.DomainEstimate
EmitDerivative
Override this method to provide an analytic derivative.
Holes
#Every value comes from the derivative, not from F, so the derivative is what gets asked. Differentiating tends to add features rather than keep them where they were - a kink in F is a jump in Fʹ - and the derivative function is the one that knows where they ended up.
Overrides: FunctionF<T1>.Holes
Integrate
#Overrides: Function.Integrate
Poles
#Every value comes from the derivative, not from F, so the derivative is what gets asked. Differentiating tends to add features rather than keep them where they were - a kink in F is a jump in Fʹ - and the derivative function is the one that knows where they ended up.
Overrides: FunctionF<T1>.Poles
Parameters:
| writer (IWriter) |
Overrides: FunctionWithCaching.Store
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.