LinearAlgebraOperations.AbsoluteMaxIndex<T> Method

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

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static int AbsoluteMaxIndex<T>(
	int n,
	ArraySlice<T> x
)

Parameters

n  Int32
The number of elements in the vector x.
x  ArraySlice<T>
A reference to a one-dimensional array containing the elements of the vector x.

Type Parameters

T

Return Value

Int32

See Also