Computes the triple product [a,b,c] of three 3d vectors.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public static double Triple( Vector3d a, Vector3d b, Vector3d c ) |
Visual Basic (Declaration) |
---|
Public Shared Function Triple ( _ a As Vector3d, _ b As Vector3d, _ c As Vector3d _ ) As Double |
Visual C++ |
---|
public: static double Triple( Vector3d^ a, Vector3d^ b, Vector3d^ c ) |
Parameters
- a
- Type: ceometric.VectorGeometry..::.Vector3d
The left 3d vector.
- b
- Type: ceometric.VectorGeometry..::.Vector3d
The middle 3d vector.
- c
- Type: ceometric.VectorGeometry..::.Vector3d
The right 3d vector.
Return Value
Returns the triple product [a,b,c] of three 3d vectors.Remarks
The triple product [a,b,c] is equivalent to a * (b x c), where
- * denotes the dot product Dot(Vector3d, Vector3d) and
- x denotes the cross product Cross(Vector3d, Vector3d)
The triple product is the determinant of the matrix formed by the column vectors a, b, c.