Vector.AbsoluteMax Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

AbsoluteMax<T>(Vector<T>) Returns the value of the element in this vector that has the largest absolute value.
AbsoluteMax<T>(Vector<Complex<T>>) Returns the value of the element in this vector that has the largest absolute value.
AbsoluteMax<T>(Vector<T>, Int32) Returns the value of the element in this vector that has the largest absolute value.
AbsoluteMax<T>(Vector<Complex<T>>, Int32) Returns the value of the element in this vector that has the largest absolute value.

AbsoluteMax<T>(Vector<T>)

Returns the value of the element in this vector that has the largest absolute value.
C#
public static T AbsoluteMax<T>(
	this Vector<T> vector
)

Parameters

vector  Vector<T>
A vector.

Type Parameters

T

Return Value

T
The largest of the absolute values of the elements of vector.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<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).

AbsoluteMax<T>(Vector<Complex<T>>)

Returns the value of the element in this vector that has the largest absolute value.
C#
public static T AbsoluteMax<T>(
	this Vector<Complex<T>> vector
)

Parameters

vector  Vector<Complex<T>>
A complex vector.

Type Parameters

T

Return Value

T
The largest of the absolute values of the elements of vector.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<Complex<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).

AbsoluteMax<T>(Vector<T>, Int32)

Returns the value of the element in this vector that has the largest absolute value.
C#
public static T AbsoluteMax<T>(
	this Vector<T> vector,
	out int index
)

Parameters

vector  Vector<T>
A vector.
index  Int32
On return, the index of the element with largest absolute value.

Type Parameters

T

Return Value

T
The largest of the absolute values of the elements of vector.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<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).

AbsoluteMax<T>(Vector<Complex<T>>, Int32)

Returns the value of the element in this vector that has the largest absolute value.
C#
public static T AbsoluteMax<T>(
	this Vector<Complex<T>> vector,
	out int index
)

Parameters

vector  Vector<Complex<T>>
A complex vector.
index  Int32
On return, the index of the element with largest absolute value.

Type Parameters

T

Return Value

T
The largest of the absolute values of the elements of vector.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<Complex<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).

See Also