vec_math
Interface VectorDifferentiable
- All Superinterfaces:
- VectorFunction
- All Known Implementing Classes:
- AbstractVectorDifferentiable
public interface VectorDifferentiable
- extends VectorFunction
A interface that defines multidimensional functions, VectorFunctions, that
are also differentiable to a certain degree.
|
Method Summary |
VectorG |
gradient(int[] i,
VectorG x)
Returns the evaluation of the gradient of the function in
carthesian coordinates. |
gradient
VectorG gradient(int[] i,
VectorG x)
- Returns the evaluation of the gradient of the function in
carthesian coordinates.
g_i = dn[]F_i/(dx_j)n_j(dx_k))n_k
,
where the provided integer array gives the depth in all x_i.
The returned VectorG is of
dimension VectorFunction.functionDimension().
- Parameters:
i - For each index i in x the differntiation depth. Length of
array is VectorFunction.argumentDimension().x - The values where the gradient should be evaluated.
- Returns:
- VectorG of dimensionality
VectorFunction.functionDimension()
- Throws:
UnsupportedOperationException - If the requested order cannot be
calculated