Vector<T>.Min Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.7.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.7.0
Overload List
| Min() | Returns the value of the smallest element in this vector. |
| Min( | Returns the value of the smallest element in this vector. |
Min
Returns the value of the smallest element in this
vector.
Remarks
Missing-aware vectors skip missing values. If no non-missing values remain, this method throws InvalidOperationException.
Exceptions
| Invalid | The vector is empty, or the vector is missing-aware and all values are missing. |
Min(Int32)
Returns the value of the smallest element in this
vector.
public T Min(
out int index
)Parameters
- index Int32
- When this method returns, the index of the smallest element.
Return Value
TThe value of the smallest element in this Vector<T>.
Remarks
Missing-aware vectors skip missing values. If no non-missing values remain, this method throws InvalidOperationException.
Exceptions
| Invalid | The vector is empty, or the vector is missing-aware and all values are missing. |