Returns a delegate that symbolically evaluates the Jacobian of a collection of multivariate function.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Func<Vector<double>, Matrix<double>, Matrix<double>> GetJacobian(
IEnumerable<Expression<Func<Vector<double>, double>>> functions
)
Public Shared Function GetJacobian (
functions As IEnumerable(Of Expression(Of Func(Of Vector(Of Double), Double)))
) As Func(Of Vector(Of Double), Matrix(Of Double), Matrix(Of Double))
public:
static Func<Vector<double>^, Matrix<double>^, Matrix<double>^>^ GetJacobian(
IEnumerable<Expression<Func<Vector<double>^, double>^>^>^ functions
)
static member GetJacobian :
functions : IEnumerable<Expression<Func<Vector<float>, float>>> -> Func<Vector<float>, Matrix<float>, Matrix<float>>
Parameters
- functions
- Type: System.Collections.GenericIEnumerableExpressionFuncVectorDouble, Double
A sequence of lambda expressions that represent a multivariate function.
Return Value
Type:
FuncVectorDouble,
MatrixDouble,
MatrixDoubleA delegate that represents a multivariate function returning a matrix in its second argument.
The partial derivatives are calculated symbolically from the supplied lambda expressions.
The expressions must not contain loops or blocks. If functions are encountered for
which no symbolic derivative is available, a numerical approximation is used.
Reference