32 template <
class nr_type_t>
36 template <
class nr_type_t>
38 template <
class nr_type_t>
40 template <
class nr_type_t>
42 template <
class nr_type_t>
44 template <
class nr_type_t>
47 template <
class nr_type_t>
58 void set (
int,
int, nr_type_t);
63 tvector<nr_type_t>
getRow (
int);
64 void setRow (
int, tvector<nr_type_t>);
65 tvector<nr_type_t>
getCol (
int);
66 void setCol (
int, tvector<nr_type_t>);
71 void print (
bool realonly =
false);
78 friend tvector<nr_type_t> operator *<> (
tmatrix, tvector<nr_type_t>);
79 friend tvector<nr_type_t> operator *<> (tvector<nr_type_t>,
tmatrix);
88 assert (r >= 0 && r < rows && c >= 0 && c <
cols);
91 assert (r >= 0 && r < rows && c >= 0 && c <
cols);
matrix inverse(matrix a)
Compute inverse matrix.
matrix operator*(matrix a, nr_complex_t z)
Matrix scaling complex version.
void setRow(int, tvector< nr_type_t >)
void set(int, int, nr_type_t)
nr_type_t operator()(int r, int c) const
nr_type_t * getData(void)
void exchangeRows(int, int)
tmatrix< nr_type_t > teye(int n)
tvector< nr_type_t > getRow(int)
void setCol(int, tvector< nr_type_t >)
const tmatrix & operator=(const tmatrix &)
tmatrix operator-=(tmatrix)
tmatrix operator+=(tmatrix)
void print(bool realonly=false)
tvector< nr_type_t > getCol(int)
void exchangeCols(int, int)