| NMathFunctionsCross(DoubleVector, DoubleVector, DoubleVector) Method |
Computes the cross product
. Vectors
and
must have
at least length three. Elements beyond three are ignored for purposes of computing the cross product.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static void Cross(
DoubleVector v,
DoubleVector u,
DoubleVector result
)
Public Shared Sub Cross (
v As DoubleVector,
u As DoubleVector,
result As DoubleVector
)
public:
static void Cross(
DoubleVector^ v,
DoubleVector^ u,
DoubleVector^ result
)
static member Cross :
v : DoubleVector *
u : DoubleVector *
result : DoubleVector -> unit
Parameters
- v DoubleVector
- 3-space vector
- u DoubleVector
- 3-space vector
- result DoubleVector
- orthogonal vector v X u
Exceptions Exception | Condition |
---|
NMathException | Thrown if any input vector has length less than 3. |
See Also