Calculates the vector quadruple product of four vectors.
// Returns (-1, -1, 0)const product = Chalkboard.vect.vectorQuadruple( Chalkboard.vect.init(1, 0, 0), Chalkboard.vect.init(0, 1, 0), Chalkboard.vect.init(0, 0, 1), Chalkboard.vect.init(1, 1, 0)); Copy
// Returns (-1, -1, 0)const product = Chalkboard.vect.vectorQuadruple( Chalkboard.vect.init(1, 0, 0), Chalkboard.vect.init(0, 1, 0), Chalkboard.vect.init(0, 0, 1), Chalkboard.vect.init(1, 1, 0));
The first vector
The second vector
The third vector
The fourth vector
Calculates the vector quadruple product of four vectors.
Example