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 Min(Of T As {Object, }) ( _ data As IList(Of T) _ ) As T |
| C# |
|---|
public static T Min<T> ( IList<T> data ) where T : Object, |
| C++ |
|---|
public: generic<typename T> where T : Object, static T Min ( 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
| Exception | Condition |
|---|---|
| ArgumentNullException | data is nullNothingnullptr. |