21 #ifndef __mia_2d_matrix_hh 22 #define __mia_2d_matrix_hh 102 template <
typename T>
110 template <
typename T>
118 template <
typename T>
132 template <
typename T>
145 template <
typename T>
149 m.
x.y * x.
x + m.
y.y * x.
y);
static const T2DMatrix _0
static const T2DMatrix _1
T2DVector< T > y
second element
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
T2DMatrix< T > transposed() const
T2DVector< T > operator*(const T2DVector< T > &x, const T2DMatrix< T > &m)
T2DMatrix & operator-=(const T2DMatrix< T > &o)
element wise subtract operator
double EXPORT_GSL dot(const gsl_vector *lhs, const gsl_vector *rhs)
T2DMatrix< float > C2DFMatrix
a simple 2x2 matrix
T2DMatrix & operator=(const T2DMatrix< T > &o)
assignment operator
T2DVector< T > x
first element
#define NS_MIA_END
conveniance define to end the mia namespace