mt
 All Classes Files Functions Enumerations Groups Pages
Classes | Functions
matrix3x3.h File Reference
#include <iostream>
#include <mt/util/assert/assert_template.h>
#include <mt/scalar.h>
#include <mt/unit3.h>
#include <mt/vector3.h>

Go to the source code of this file.

Classes

class  mt::Matrix3x3
 Row-major 3x3 matrix class. More...

Functions

Vector3 mt::operator* (const Matrix3x3 &m, const Vector3 &v)
 Matrix-vector product.
Vector3 mt::operator* (const Vector3 &v, const Matrix3x3 &m)
 Vector-matrix product.
Matrix3x3 mt::operator* (const Matrix3x3 &m1, const Matrix3x3 &m2)
 Matrix-matrix product.
std::ostream & mt::operator<< (std::ostream &os, const Matrix3x3 &m)
Matrix3x3 mt::abs (const Matrix3x3 &m)
 Memberwise absolute value.
Matrix3x3 mt::scale (const Matrix3x3 m, const Vector3 &v)
 Scales matrix m according to input vector v.
Scalar mt::determinant (const Matrix3x3 &m)
 Matric determinant.
Matrix3x3 mt::adjoint (const Matrix3x3 &m)
 Matrix adjoint.
Matrix3x3 mt::transpose (const Matrix3x3 &m)
 Matrix transpose.
Matrix3x3 mt::inverse (const Matrix3x3 &m)
 Matrix inverse.
Matrix3x3 mt::transposeTimes (const Matrix3x3 &m1, const Matrix3x3 &m2)
 Calculates $ \mathrm{M_1}^T \mathrm{M_2} $.
Matrix3x3 mt::timesTranspose (const Matrix3x3 &m1, const Matrix3x3 &m2)
 Calculates $ \mathrm{M_1} \mathrm{M_2}^T $.

Detailed Description