Click or drag to resize

NumericalDerivativeEvaluateMixedPartialDerivative(FuncDouble, Double, Double, Int32, Int32, NullableDouble) Method

Evaluates the mixed partial derivative of variable order for multivariate function arrays.

Namespace: Altaxo.Calc.Differentiation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public double[] EvaluateMixedPartialDerivative(
	Func<double[], double>[] f,
	double[] x,
	int[] parameterIndex,
	int order,
	double?[] currentValue = null
)

Parameters

f  FuncDouble, Double
Multivariate function array handle.
x  Double
Vector 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

Double
Function mixed partial derivatives 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