Click or drag to resize
DigitalRuneVectorFMax Method
Returns a vector that contains the highest value from each matching pair of components.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static VectorF Max(
	VectorF vector1,
	VectorF vector2
)

Parameters

vector1
Type: DigitalRune.Mathematics.AlgebraVectorF
The first vector.
vector2
Type: DigitalRune.Mathematics.AlgebraVectorF
The second vector.

Return Value

Type: VectorF
The maximized vector.
Exceptions
ExceptionCondition
ArgumentNullExceptionvector1 or vector2 is .
ArgumentException The numbers of elements of the two vectors do not match.
See Also