Returns the value of the element in an array that has the largest absolute value.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static double AbsoluteMax(
this double[] array
)
<ExtensionAttribute>
Public Shared Function AbsoluteMax (
array As Double()
) As Double
public:
[ExtensionAttribute]
static double AbsoluteMax(
array<double>^ array
)
[<ExtensionAttribute>]
static member AbsoluteMax :
array : float[] -> float
Parameters
- array
- Type: SystemDouble
A Double array.
Return Value
Type:
DoubleThe value of the element in
array that has the largest absolute
value.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . 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).
Reference