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.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public static Func<Vector<double>, Matrix<double>, Matrix<double>> CombineFast(
this Func<Vector<double>, Vector<double>>[] functions
)
<ExtensionAttribute>
Public Shared Function CombineFast (
functions As Func(Of Vector(Of Double), Vector(Of Double))()
) As Func(Of Vector(Of Double), Matrix(Of Double), Matrix(Of Double))
public:
[ExtensionAttribute]
static Func<Vector<double>^, Matrix<double>^, Matrix<double>^>^ CombineFast(
array<Func<Vector<double>^, Vector<double>^>^>^ functions
)
[<ExtensionAttribute>]
static member CombineFast :
functions : Func<Vector<float>, Vector<float>>[] -> Func<Vector<float>, Matrix<float>, Matrix<float>>
Parameters
- functions
- Type: SystemFuncVectorDouble, VectorDouble
An array of
multivariate functions returning a vector.
Return Value
Type:
FuncVectorDouble,
MatrixDouble,
MatrixDoubleA delegate that returns a matrix whose rows correspond to the
return values of the elements of
functionsUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Use this method to combine several multivariate vector functions
into one FuncT1, T2, TResult 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.
Numerical Libraries
Supported in: 6.0
Reference