16 template <
typename Type,
size_t M,
size_t N>
19 template <
typename Type,
size_t M>
22 template <
typename Type>
25 template <
typename Type>
28 template<
typename Type>
54 template<
size_t P,
size_t Q>
61 return {a(1)*b(2,0) - a(2)*b(1,0), -a(0)*b(2,0) + a(2)*b(0,0), a(0)*b(1,0) - a(1)*b(0,0)};
94 return (*this).
cross(b);
Vector3 operator*(Type scalar) const
Vector3 cross(const Matrix31 &b) const
Vector3 operator-(Vector3 other) const
Vector3(const Slice< Type, 3, 1, P, Q > &slice_in)
Vector3(Type x, Type y, Type z)
Direction cosine matrix class.
Type operator*(const MatrixM1 &b) const
Vector3 operator+(Vector3 other) const
Override matrix ops so Vector3 type is returned.
Vector3 operator%(const Matrix31 &b) const
Matrix< Type, M, N > operator-() const
Vector3(const Type data_[3])
Matrix< Type, 3, 1 > Matrix31
Type operator*(Vector3 b) const
Vector3(const Matrix31 &other)
Matrix< Type, M, P > operator*(const Matrix< Type, N, P > &other) const
Matrix Operations.
Vector3< float > Vector3f
Vector3 normalized() const
Slice< Type, 2, 1, 3, 1 > xy()
Vector3 operator-() const
const Slice< Type, 2, 1, 3, 1 > xy() const
Vector3 unit() const
Override vector ops so Vector3 type is returned.
Matrix< Type, M, N > operator+(const Matrix< Type, M, N > &other) const