DenseVector<T>.MapInPlace Method

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

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

MapInPlace(Func<T, T>)

Applies a function to the elements of a dense 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

ArgumentNullExceptionfunction is null.

See Also