Click or drag to resize

NMathFunctionsCross(FloatVector, FloatVector) Method

Computes the cross product
C#
v X u
. Vectors
C#
and
C#
must have at least length three. Elements beyond three are ignored for purposes of computing the cross product.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static FloatVector Cross(
	FloatVector v,
	FloatVector u
)

Parameters

v  FloatVector
3-space vector
u  FloatVector
3-space vector

Return Value

FloatVector
The resulting orthogonal vector
Exceptions
ExceptionCondition
NMathExceptionThrown if any input vector has length less than 3.
See Also