@equinor/videx-linear-algebra
    Preparing search index...

    Function triple

    • a ∙ b × c

      Find triple product between three vectors. Only defined for 3d vectors.

      Parameters

      • a: VectorLike

        Left operand for dot product (3d vector)

      • b: VectorLike

        Left operand for cross product (3d vector)

      • c: VectorLike

        Right operand for cross product (3d vector)

      Returns number

      Triple product of vectors

      triple([1, 0, 0], [0, 1, 0], [0, 0, 1]); // Returns: 1