Linear Algebra Operations.Absolute Max Index<T, TStorage> Method
Returns the index of the element of a vector with
maximum absolute value.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static int AbsoluteMaxIndex<T, TStorage>(
int n,
TStorage x
)
where TStorage : Object, IStorageSlice<T>
Parameters
- n Int32
- The number of elements in the vector x.
- x TStorage
- A reference to a one-dimensional array containing the elements of the vector x.
Type Parameters
- T
- TStorage