6 if( i<0 || j<0 ||
m<=i ||
n<=j ){
8 std::cerr <<
"The required component is out of the matrix size." << std::endl
9 <<
"Your input is (" << i <<
"," << j <<
"), whereas the matrix size is (" <<
m <<
"," <<
n <<
")." << std::endl;
25 for(CPPL_INT
i=0;
i<mat.
m;
i++){
26 for(CPPL_INT j=0; j<mat.
n; j++){
43 std::ofstream ofs(filename, std::ios::trunc);
44 ofs.setf(std::cout.flags());
45 ofs.precision(std::cout.precision());
46 ofs.width(std::cout.width());
47 ofs.fill(std::cout.fill());
49 ofs <<
"#zgematrix" <<
" " <<
m <<
" " <<
n << std::endl;
50 for(CPPL_INT
i=0;
i<
m;
i++){
51 for(CPPL_INT j=0; j<
n; j++){
std::ostream & operator<<(std::ostream &s, const _zgematrix &mat)
CPPL_INT m
matrix row size
comple & operator()(const CPPL_INT &, const CPPL_INT &) const
_dgematrix i(const _dgbmatrix &mat)
friend _zgematrix i(const _zgematrix &)
(DO NOT USE) Smart-temporary Complex Double-precision General Dence Matrix Class
void write(const char *) const
CPPL_INT n
matrix column size
comple ** darray
array of pointers of column head addresses