| VectorFMax Method |
Returns a vector that contains the highest value from each matching pair of components.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static VectorF Max(
VectorF vector1,
VectorF vector2
)
Public Shared Function Max (
vector1 As VectorF,
vector2 As VectorF
) As VectorF
public:
static VectorF^ Max(
VectorF^ vector1,
VectorF^ vector2
)
static member Max :
vector1 : VectorF *
vector2 : VectorF -> VectorF
Parameters
- vector1
- Type: DigitalRune.Mathematics.AlgebraVectorF
The first vector. - vector2
- Type: DigitalRune.Mathematics.AlgebraVectorF
The second vector.
Return Value
Type:
VectorFThe maximized vector.
Exceptions See Also