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