// Inner product of u and v Scalar = exmat::dot(const exmat::Vec& u, const exmat::Vec& v); // Length of u: ||u|| Scalar = exmat::norm(const exmat::Vec& u); // Length of u, squared Scalar = exmat::norm2(const exmat::Vec& u); // Cross product for vector of size 3 Vec3 = exmat::cross(const Vec3& u, const Vec3& v);
Go to the next section : Matrix functions