|
MatrixMaxT Method (NullableT, Int32)
|
Gets the maximum non-null element in a vector.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static Nullable<T> Max<T>(
this Nullable<T>[] values,
out int imax
)
where T : struct, new(), IComparable<T>
<ExtensionAttribute>
Public Shared Function Max(Of T As {Structure, New, IComparable(Of T)}) (
values As Nullable(Of T)(),
<OutAttribute> ByRef imax As Integer
) As Nullable(Of T)
Request Example
View SourceParameters
- values
- Type: SystemNullableT
- imax
- Type: SystemInt32
Type Parameters
- T
Return Value
Type:
NullableTUsage 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).
See Also