DenseVector<T, TStorage>.MapInPlace Method

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

MapInPlace<U>(Func<T, U, T>, Vector<U>) 
MapInPlace(Func<T, T>) Applies a function in-place to the elements of a vector.
MapInPlace(Func<Int32, T, T>) Applies a function in-place to the elements of a vector.
MapInPlace<U>(Func<T, U, T>, Vector<U>) Applies a function to the elements of a vector.

MapInPlace(Func<T, T>)

Applies a function in-place to the elements of a vector.
C#
public override Vector<T> MapInPlace(
	Func<T, T> function
)

Parameters

function  Func<T, T>
A delegate that represents a function of one variable

Return Value

Vector<T>
A reference to this instance.

Exceptions

ArgumentNullException

function is null.

See Also