ManagedLinearAlgebraOperations.AbsoluteMaxIndex Method

Definition

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

Overload List

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

Finds the index of element having max.

C#
public override int AbsoluteMaxIndex(
	int n,
	ReadOnlySpan<Complex<double>> x,
	int incx
)

Parameters

n  Int32
The number of elements in the vector x.
x  ReadOnlySpan<Complex<Double>>
A span containing the elements of the vector x.
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<Double>, Int32)

Finds the index of element having max.

C#
public override int AbsoluteMaxIndex(
	int n,
	ReadOnlySpan<double> x,
	int incx
)

Parameters

n  Int32
The number of elements in the vector x.
x  ReadOnlySpan<Double>
A span containing the elements of the vector x.
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