Go to the source code of this file.
std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
const _zhematrix & |
mat |
|
) |
| |
|
inline |
Definition at line 23 of file _zhematrix-io.hpp.
References conj(), _zhematrix::darray, _zhematrix::destroy(), i(), imag(), and _zhematrix::n.
25 for(CPPL_INT
i=0;
i<mat.
n;
i++){
26 for(CPPL_INT j=0; j<mat.
n; j++){
28 s <<
" " << mat(
i,j) <<
" ";
31 s <<
" " << std::real(mat(
i,
i)) <<
" ";
42 std::cerr <<
"The " <<
i <<
"th diagonal component of the zhematrix is not a real number." << std::endl;
CPPL_INT n
matrix column size
_dgematrix i(const _dgbmatrix &mat)
_zcovector conj(const _zcovector &vec)
dcovec3 imag(const dquater &q)
comple ** darray
array of pointers of column head addresses