Returns a vector whose elements are the maximum of the components of a vector
and a real number.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<T> Max<T>(
this Vector<T> vector,
T value
)
<ExtensionAttribute>
Public Shared Function Max(Of T) (
vector As Vector(Of T),
value As T
) As Vector(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static Vector<T>^ Max(
Vector<T>^ vector,
T value
)
[<ExtensionAttribute>]
static member Max :
vector : Vector<'T> *
value : 'T -> Vector<'T>
Parameters
- vector
- Type: Extreme.MathematicsVectorT
A VectorT. - value
- Type: T
A real number.
Type Parameters
- T
Return Value
Type:
VectorTA vector whose elements are the largest of the corresponding element
of
vector and
value.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
VectorT. 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