| DoubleSymmetricMatrixApply(FuncDoubleVector, Double) Method |
Returns a new vector containing an element for each column or row in
this matrix. The elements are the results of applying a function that
takes a vector and returns a single-precision number.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DoubleVector Apply(
Func<DoubleVector, double> function
)
Public Function Apply (
function As Func(Of DoubleVector, Double)
) As DoubleVector
public:
DoubleVector^ Apply(
Func<DoubleVector^, double>^ function
)
member Apply :
function : Func<DoubleVector, float> -> DoubleVector
Parameters
- function FuncDoubleVector, Double
-
A delegate object representing a function that
takes a DoubleVector parameter and returns a float.
Return Value
DoubleVectorA vector
v with the same length as the number of columns
and rows in this matrix, where
v[i]=function( this.Col(i) ).
See Also