Vector<T>.MapInPlace<U>(Func<U, T, T>, Vector<U>) Method

Applies a function in-place to the elements of a vector as the second argument.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public Vector<T> MapInPlace<U>(
	Func<U, T, T> function,
	Vector<U> first
)

Parameters

function  Func<U, T, T>
A delegate that represents a function of one variable
first  Vector<U>
A vector whose elements serve as the first argument to the function.

Type Parameters

U

Return Value

Vector<T>
A reference to this instance.

Exceptions

ArgumentNullExceptionfunction is null.

See Also