| VectorDMax 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 VectorD Max(
VectorD vector1,
VectorD vector2
)
Public Shared Function Max (
vector1 As VectorD,
vector2 As VectorD
) As VectorD
public:
static VectorD^ Max(
VectorD^ vector1,
VectorD^ vector2
)
static member Max :
vector1 : VectorD *
vector2 : VectorD -> VectorD
Parameters
- vector1
- Type: DigitalRune.Mathematics.AlgebraVectorD
The first vector. - vector2
- Type: DigitalRune.Mathematics.AlgebraVectorD
The second vector.
Return Value
Type:
VectorDThe maximized vector.
Exceptions See Also