GenericLinearAlgebraOperations<T>.AbsoluteMaxIndex Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.1

Overload List

AbsoluteMaxIndex(Int32, ReadOnlySpan<T>, Int32)

Finds the index of element having max.

C#
public override int AbsoluteMaxIndex(
	int n,
	ReadOnlySpan<T> dx,
	int incx
)

Parameters

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

Return Value

Int32

Implements

ILinearAlgebraOperations<T>.AbsoluteMaxIndex(Int32, ReadOnlySpan<T>, Int32)

Remarks

            absolute value.
            

Further Details:

            jack dongarra, 1/15/85.
            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

AbsoluteMaxIndex(Int32, ReadOnlySpan<Complex<T>>, Int32)

Finds the index of element having max.

C#
public override int AbsoluteMaxIndex(
	int n,
	ReadOnlySpan<Complex<T>> zx,
	int incx
)

Parameters

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

Return Value

Int32

Implements

ILinearAlgebraOperations<T>.AbsoluteMaxIndex(Int32, ReadOnlySpan<T>, Int32)

Remarks

            absolute value.
            

Further Details:

            jack dongarra, 1/15/85.
            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