Applies a function to each column in a matrix and returns the result as a vector.

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Function ApplyToRows ( _
	function As MultivariateRealFunction _
) As GeneralVector
C#
public GeneralVector ApplyToRows (
	MultivariateRealFunction function
)
C++
public:
GeneralVector^ ApplyToRows (
	MultivariateRealFunction^ function
)

Parameters

function (Extreme.Mathematics.MultivariateRealFunction)
A MultivariateRealFunction delegate.

Return Value

A GeneralVector whose components are the result of applying function to each column of the matrix.

Remarks

The length of the returned vector equals the number of rows in the matrix.

Exceptions

ExceptionCondition
ArgumentNullExceptionfunction is nullNothingnullptr.

See Also