AbsoluteFunction
FunctionFG<2>FunctionF<1>FunctionWithCachingFunction[IoId("00000000-E1CA-4FA8-8576-540594F4160D")]
public sealed class AbsoluteFunction : FunctionFG<Function, Function>
The absolute value 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.
G
public T2 G { get; }
Second 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
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: FunctionFG<T1, T2>.DomainEstimate
EmitDerivative
Override this method to provide an analytic derivative.
EmitIntegral
Override this method to provide an analytic indefinite integral.
Holes
A binary operation is undefined wherever either operand is, and blows up wherever either operand does. Overridden because the unary base relays F alone, which would drop G's features silently.
Overrides: FunctionF<T1>.Holes
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
A binary operation is undefined wherever either operand is, and blows up wherever either operand does. Overridden because the unary base relays F alone, which would drop G's features silently.
Overrides: FunctionF<T1>.Poles
Parameters:
| writer (IWriter) |
Overrides: FunctionF<T1>.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.