Returns the cross product of two 3D vectors.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static DenseVector<T> CrossProduct<T>(
this Vector<T> left,
Vector<T> right
)
<ExtensionAttribute>
Public Shared Function CrossProduct(Of T) (
left As Vector(Of T),
right As Vector(Of T)
) As DenseVector(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static DenseVector<T>^ CrossProduct(
Vector<T>^ left,
Vector<T>^ right
)
[<ExtensionAttribute>]
static member CrossProduct :
left : Vector<'T> *
right : Vector<'T> -> DenseVector<'T>
Parameters
- left
- Type: Extreme.MathematicsVectorT
The first VectorT. - right
- Type: Extreme.MathematicsVectorT
The second VectorT.
Type Parameters
- T
Return Value
Type:
DenseVectorTThe cross product of the two vectors.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
VectorT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Reference