ILinearAlgebraOperations<T>.AbsoluteMaxIndex Method

Returns the index of the element of a vector with maximum absolute value.

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
int AbsoluteMaxIndex(
	int n,
	ReadOnlySpan<T> x,
	int incx
)

Parameters

n  Int32
The number of elements in the vector x.
x  ReadOnlySpan<T>
A span containing the elements of the vector x.
incx  Int32
The distance between elements in the storage array.

Return Value

Int32

See Also