Matrix<T>.MapColumnsInPlace Method

Applies a function to each column in a matrix in-place.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public Matrix<T> MapColumnsInPlace(
	Action<Vector<T>> function
)

Parameters

function  Action<Vector<T>>
A delegate that represents a multivariate function.

Return Value

Matrix<T>
A reference to this instance.

Remarks

function must operate on the columns of the matrix in-place.

Exceptions

ArgumentNullException

function is null.

See Also