This package holds the main interfaces and basic building block classes
dealing with differentiation.
The core class is DerivativeStructure which holds the value and the differentials of a function. This class
handles some arbitrary number of free parameters and arbitrary differentiation order. It is used
both as the input and the output type for the UnivariateDifferentiableFunction interface. Any differentiable function should implement this
interface.
The UnivariateFunctionDifferentiator interface defines a way to differentiate a simple UnivariateFunction and get a UnivariateDifferentiableFunction.
Similar interfaces also exist for multivariate functions and for vector or matrix valued functions.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | MultivariateDifferentiableFunction
Extension of |
| public interface | MultivariateDifferentiableVectorFunction
Extension of |
| public interface | UnivariateDifferentiableFunction
Interface for univariate functions derivatives. |
| public interface | UnivariateDifferentiableMatrixFunction
Extension of |
| public interface | UnivariateDifferentiableVectorFunction
Extension of |
| public interface | UnivariateFunctionDifferentiator
Interface defining the function differentiation operation. |
| public interface | UnivariateMatrixFunctionDifferentiator
Interface defining the function differentiation operation. |
| public interface | UnivariateVectorFunctionDifferentiator
Interface defining the function differentiation operation. |
| Modifier and Type | Class and Description |
|---|---|
| public class | DerivativeStructure
Class representing both the value and the differentials of a function. |
| public class | DSCompiler
Class holding "compiled" computation rules for derivative structures. |
| public class | FiniteDifferencesDifferentiator
Univariate functions differentiator using finite differences. |
| public class | GradientFunction
Class representing the gradient of a multivariate function. |
| public class | JacobianFunction
Class representing the Jacobian of a multivariate vector function. |
| public class | SparseGradient
First derivative computation with large number of variables. |