NumericalDerivativeEvaluateMixedPartialDerivative(FuncDouble, Double, Double, Int32, Int32, NullableDouble) Method |
Evaluates the mixed partial derivative of variable order for multivariate functions.
Namespace: Altaxo.Calc.DifferentiationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public double EvaluateMixedPartialDerivative(
Func<double[], double> f,
double[] x,
int[] parameterIndex,
int order,
double? currentValue = null
)
Parameters
- f FuncDouble, Double
- Multivariate function handle.
- x Double
- Points at which to evaluate the derivative.
- parameterIndex Int32
- Vector of indices for the independent variables at descending derivative orders.
- order Int32
- Highest order of differentiation.
- currentValue NullableDouble (Optional)
- Current function value at center.
Return Value
DoubleFunction mixed partial derivative at x of the specified order.
Remarks
This function recursively uses
EvaluatePartialDerivative(FuncDouble, Double, Double, Int32, Int32, NullableDouble) to evaluate mixed partial derivative.
Therefore, it is more efficient to call
EvaluatePartialDerivative(FuncDouble, Double, Double, Int32, Int32, NullableDouble) for higher order derivatives of
a single independent variable.
See Also