| NMathFunctionsCross(FloatVector, FloatVector) 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 FloatVector Cross(
FloatVector v,
FloatVector u
)
Public Shared Function Cross (
v As FloatVector,
u As FloatVector
) As FloatVector
public:
static FloatVector^ Cross(
FloatVector^ v,
FloatVector^ u
)
static member Cross :
v : FloatVector *
u : FloatVector -> FloatVector
Parameters
- v FloatVector
- 3-space vector
- u FloatVector
- 3-space vector
Return Value
FloatVectorThe resulting orthogonal vector
Exceptions Exception | Condition |
---|
NMathException | Thrown if any input vector has length less than 3. |
See Also