LinearAlgebraOperationsExtensions.AbsoluteMaxIndex<T>(ILinearAlgebraOperations<T>, Int32, ReadOnlySpanSlice<T>) Method

Finds the index of element having max.

Definition

Namespace: Extreme.Collections
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 9.0.0
C#
public static int AbsoluteMaxIndex<T>(
	this ILinearAlgebraOperations<T> operations,
	int n,
	ReadOnlySpanSlice<T> x
)

Parameters

operations  ILinearAlgebraOperations<T>
 
n  Int32
 
x  ReadOnlySpanSlice<T>
 

Type Parameters

T

Return Value

Int32

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

            absolute value.
            

Further Details:

            jack dongarra, linpack, 3/11/78.
            modified 3/93 to return if incx .le. 0.
            modified 12/3/93, array(1) declarations changed to array(*)
            

Authors: Univ. of Tennessee, Univ. of California Berkeley, Univ. of Colorado Denver, NAG Ltd.

Date: November 2011

See Also