Scalar triple product