Applies a function to each column in a matrix and returns the result as a vector.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public DenseVector ApplyToColumns(
Func<Vector, double> function
)
Public Function ApplyToColumns (
function As Func(Of Vector, Double)
) As DenseVector
public:
DenseVector^ ApplyToColumns(
Func<Vector^, double>^ function
)
member ApplyToColumns :
function : Func<Vector, float> -> DenseVector
Parameters
- function
- Type: SystemFuncVector, Double
A delegate that represents a multivariate function.
Return Value
Type:
DenseVectorA
DenseVector whose components are the result of applying
function to each column of the matrix.
The length of the returned vector equals the number of columns in the matrix.
Numerical Libraries
Supported in: 5.x, 4.x
Reference