Constructs a delegate that represents a multivariate function returning a matrix in its second argument from an array of
multivariate functions returning a vector.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Func<Vector<double>, Matrix<double>, Matrix<double>> CombineFast(
Expression<Func<Vector<double>, Vector<double>, Vector<double>>>[] functions
)
Public Shared Function CombineFast (
functions As Expression(Of Func(Of Vector(Of Double), Vector(Of Double), Vector(Of Double)))()
) As Func(Of Vector(Of Double), Matrix(Of Double), Matrix(Of Double))
public:
static Func<Vector<double>^, Matrix<double>^, Matrix<double>^>^ CombineFast(
array<Expression<Func<Vector<double>^, Vector<double>^, Vector<double>^>^>^>^ functions
)
static member CombineFast :
functions : Expression<Func<Vector<float>, Vector<float>, Vector<float>>>[] -> Func<Vector<float>, Matrix<float>, Matrix<float>>
Parameters
- functions
- Type: System.Linq.ExpressionsExpressionFuncVectorDouble, VectorDouble, VectorDouble
An array of
multivariate functions returning a vector.
Return Value
Type:
FuncVectorDouble,
MatrixDouble,
MatrixDoubleA delegate that represents a multivariate function returning a matrix in its second argument whose rows correspond to the
return values of the elements of
functions
Use this method to combine several multivariate vector functions
into one function that returns a matrix whose rows contain
each of the function values.
Note that there is a
slight performance loss over defining the FuncT1, T2, TResult
directly because of the overhead of invoking multiple delegates
instead of one.
Reference