Typedefs | |
typedef unsigned | size_type |
typedef unsigned | size_type |
Functions | |
template<class R> | |
std::ostream & | print (std::ostream &os, const R &m) |
template<class R> | |
std::ostream & | printsign (std::ostream &os, const R &m) |
template<class R> | |
std::istream & | read (std::istream &is, R &M) |
template<class R, class C> | |
void | init (R &a, const C &c) |
template<class R1, class R2> | |
void | assign (R1 &r, const R2 &m) |
void TENSOR3D::assign | ( | R1 & | r, | |
const R2 & | m | |||
) |
Assignement of a dense matrix to another one, assuming they have the same size, but not necessarily the same type.
Definition at line 104 of file MATRIX3D.h.
void TENSOR3D::init | ( | R & | a, | |
const C & | c | |||
) |
Initialise all the entries of a with the value c.
Definition at line 91 of file MATRIX3D.h.
std::ostream & TENSOR3D::print | ( | std::ostream & | os, | |
const R & | m | |||
) |
Output function for general 3D-matrices. It is called by the output operator <<
of the classes of 3D-matrices.
Definition at line 33 of file MATRIX3D.h.
std::ostream & TENSOR3D::printsign | ( | std::ostream & | os, | |
const R & | m | |||
) |
Output function for general 3D-matrices. It is called by the output operator <<
of the classes of 3D-matrices.
Definition at line 51 of file MATRIX3D.h.
std::istream & TENSOR3D::read | ( | std::istream & | is, | |
R & | M | |||
) |
Input function for general 3D-matrices. The input format is of the form m n c00 c0 ...
where m
is the number of rows, n
is the number of columns o
is the number of "heigth" and the coefficients are read row by row and height by height.
Definition at line 74 of file MATRIX3D.h.
Referenced by operator>>().