Click or drag to resize

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

Parameters

v  DoubleVector
3-space vector
u  DoubleVector
3-space vector
result  DoubleVector
orthogonal vector v X u
Exceptions
ExceptionCondition
NMathExceptionThrown if any input vector has length less than 3.
See Also