{@link DerivativeStructure} instances can be used directly thanks tothe 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 no requiring users to compute the derivatives by themselves. Implementing complex expression can also be done by developing computation code using standard primitive double values and to use {@link UnivariateFunctionDifferentiator differentiators} to create the {@link DerivativeStructure}-based instances. This method is simpler but may be limited in the accuracy and derivation orders and may be computationally intensive (this is typically the case for {@link FiniteDifferencesDifferentiator finite differencesdifferentiator}.
Instances of this class are guaranteed to be immutable.
@see DSCompiler @since 3.1
|
|