Computes the triple product of three vectors.

Namespace: Spherical
Assembly: SphericalLib (in SphericalLib.dll) Version: 1.0.5951.32246 (1.0.0.0)

Syntax

C#
public static double TripleProduct(
	Cartesian p1,
	Cartesian p2,
	Cartesian p3
)
Visual C++
public:
static double TripleProduct(
	Cartesian p1, 
	Cartesian p2, 
	Cartesian p3
)
F#
static member TripleProduct : 
        p1:Cartesian * 
        p2:Cartesian * 
        p3:Cartesian -> float 

Parameters

p1
Type: Spherical..::..Cartesian
Input vector 1.
p2
Type: Spherical..::..Cartesian
Input vector 2.
p3
Type: Spherical..::..Cartesian
Input vector 3.

Return Value

The triple product.

Remarks

The triple product is the volume of the parallelepipedon defined by the input vectors.

See Also