Returns the maximum value of the elements of an array.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function MinMax(Of T As {Object, }) ( _
data As IList(Of T) _
) As T() |
| C# |
|---|
public static T[] MinMax<T> (
IList<T> data
) where T : Object, |
| C++ |
|---|
public:
generic<typename T>
where T : Object,
static array<T>^ MinMax (
IList<T>^ data
) |
Parameters
- data (System.Collections.Generic.IList<(Of T>)<>)
- A Double array.
Return Value
The maximum value of the elements of
data.
Exceptions