Class FieldUnivariateDerivative2<T extends CalculusFieldElement<T>>

java.lang.Object
org.hipparchus.analysis.differentiation.FieldUnivariateDerivative<T,FieldUnivariateDerivative2<T>>
org.hipparchus.analysis.differentiation.FieldUnivariateDerivative2<T>
Type Parameters:
T - the type of the function parameters and value
All Implemented Interfaces:
DifferentialAlgebra, FieldDerivative<T,FieldUnivariateDerivative2<T>>, CalculusFieldElement<FieldUnivariateDerivative2<T>>, FieldElement<FieldUnivariateDerivative2<T>>

public class FieldUnivariateDerivative2<T extends CalculusFieldElement<T>> extends FieldUnivariateDerivative<T,FieldUnivariateDerivative2<T>>
Class representing both the value and the differentials of a function.

This class is a stripped-down version of FieldDerivativeStructure with only one free parameter and derivation order limited to two. It should have less overhead than FieldDerivativeStructure in its domain.

This class is an implementation of Rall's numbers. Rall's numbers are an extension to the real numbers used throughout mathematical expressions; they hold the derivative together with the value of a function.

FieldUnivariateDerivative2 instances can be used directly thanks to the arithmetic operators to the mathematical functions provided as methods by this class (+, -, *, /, %, sin, cos ...).

Implementing complex expressions by hand using these classes is a tedious and error-prone task but has the advantage of having no limitation on the derivation order despite not requiring users to compute the derivatives by themselves.

Instances of this class are guaranteed to be immutable.

Since:
1.7
See Also: