Click or drag to resize

NMathFunctionsCross(DoubleVector, DoubleVector) 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 DoubleVector Cross(
	DoubleVector v,
	DoubleVector u
)

Parameters

v  DoubleVector
3-space vector
u  DoubleVector
3-space vector

Return Value

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