DenseVector<T, TStorage>.MapCore Method

Definition

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

Overload List

MapCore<U>(Func<T, U>, Vector<U>) Applies a function to the elements of a vector.
MapCore<U>(Func<T, U>, Vector<U>) Applies a function to the elements of a vector.
MapCore<U>(Func<Int32, T, U>, Vector<U>) Applies a function to the elements of a vector.
MapCore<U>(Func<Int32, T, U>, Vector<U>) Applies a function to the elements of a vector.

MapCore<U>(Func<T, U>, Vector<U>)

Applies a function to the elements of a vector.
C#
protected override Vector<U> MapCore<U>(
	Func<T, U> function,
	Vector<U>? result
)

Parameters

function  Func<T, U>
A delegate that represents a function of one variable
result  Vector<U>
The vector that is to hold the result. May be null.

Type Parameters

U

Return Value

Vector<U>
The vector result.

MapCore<U>(Func<Int32, T, U>, Vector<U>)

Applies a function to the elements of a vector.
C#
protected override Vector<U> MapCore<U>(
	Func<int, T, U> function,
	Vector<U>? result
)

Parameters

function  Func<Int32, T, U>
A delegate that represents a function of one variable
result  Vector<U>
The vector that is to hold the result. May be null.

Type Parameters

U

Return Value

Vector<U>
The vector result.

See Also