(DO NOT USE) Smart-temporary Real Double-precision General Sparse Matrix Class More...
#include <_dgsmatrix.hpp>
Public Member Functions | |
_dgsmatrix () | |
_dgsmatrix (const _dgsmatrix &) | |
~_dgsmatrix () | |
_zgsmatrix | to_zgsmatrix () const |
_dgematrix | to_dgematrix () const |
double | operator() (const CPPL_INT &, const CPPL_INT &) const |
void | write (const char *) const |
void | nullify () const |
void | destroy () const |
Public Attributes | |
CPPL_INT | m |
matrix row size More... | |
CPPL_INT | n |
matrix column size More... | |
std::vector< dcomponent > | data |
matrix data More... | |
std::vector< std::vector < CPPL_INT > > | rows |
array of vector to store the entry information of component for each row More... | |
std::vector< std::vector < CPPL_INT > > | cols |
array of vector to store the entry information of component for each column More... | |
(DO NOT USE) Smart-temporary Real Double-precision General Sparse Matrix Class
Definition at line 3 of file _dgsmatrix.hpp.
|
inline |
_dgsmatrix constructor without arguments
Definition at line 3 of file _dgsmatrix-constructor.hpp.
References cols, data, m, n, and rows.
|
inline |
_dgsmatrix copy constructor
Definition at line 14 of file _dgsmatrix-constructor.hpp.
References cols, data, m, n, nullify(), and rows.
|
inline |
_dgsmatrix destructor
Definition at line 31 of file _dgsmatrix-constructor.hpp.
References cols, data, and rows.
|
inline |
cast to _zgsmatrix
Definition at line 3 of file _dgsmatrix-cast.hpp.
References _(), data, destroy(), m, n, and zgsmatrix::put().
|
inline |
convert to _dgematrix
Definition at line 22 of file _dgsmatrix-cast.hpp.
References _(), data, destroy(), m, n, and dgematrix::zero().
Referenced by operator+(), and operator-().
|
inline |
operator() for const object
Definition at line 3 of file _dgsmatrix-io.hpp.
References data, i(), m, n, and rows.
|
inline |
|
inline |
nullify all the matrix data
Definition at line 3 of file _dgsmatrix-misc.hpp.
References cols, data, m, n, and rows.
Referenced by _dgsmatrix(), dgsmatrix::dgsmatrix(), and dgsmatrix::shallow_copy().
|
inline |
destroy all the matrix data
Definition at line 14 of file _dgsmatrix-misc.hpp.
References cols, data, and rows.
Referenced by damax(), idamax(), operator*(), dgsmatrix::operator*=(), operator+(), dgsmatrix::operator+=(), operator-(), dgsmatrix::operator-=(), operator<<(), to_dgematrix(), to_zgsmatrix(), and write().
|
friend |
Definition at line 29 of file _dgsmatrix-io.hpp.
|
friend |
return transposed dgsmatrix
Definition at line 3 of file dgsmatrix-calc.hpp.
|
friend |
search the index of element having the largest absolute value in 0-based numbering system
Definition at line 23 of file dgsmatrix-calc.hpp.
|
friend |
|
friend |
+_dgsmatrix operator
Definition at line 3 of file _dgsmatrix-unary.hpp.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
_dgsmatrix*dgsmatrix operator
Definition at line 49 of file _dgsmatrix-dgsmatrix.hpp.
|
friend |
_dgsmatrix*_dgsmatrix operator
Definition at line 51 of file _dgsmatrix-_dgsmatrix.hpp.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
mutable |
matrix row size
Definition at line 9 of file _dgsmatrix.hpp.
Referenced by _(), _dgsmatrix(), dgsmatrix::dgsmatrix(), nullify(), operator()(), operator*(), dgsmatrix::operator*=(), operator+(), dgsmatrix::operator+=(), operator-(), dgsmatrix::operator-=(), operator<<(), dgsmatrix::shallow_copy(), to_dgematrix(), to_zgsmatrix(), and write().
|
mutable |
matrix column size
Definition at line 10 of file _dgsmatrix.hpp.
Referenced by _(), _dgsmatrix(), dgsmatrix::dgsmatrix(), nullify(), operator()(), operator*(), dgsmatrix::operator*=(), operator+(), dgsmatrix::operator+=(), operator-(), dgsmatrix::operator-=(), operator<<(), dgsmatrix::shallow_copy(), to_dgematrix(), to_zgsmatrix(), and write().
|
mutable |
matrix data
Definition at line 11 of file _dgsmatrix.hpp.
Referenced by _(), _dgsmatrix(), damax(), destroy(), dgsmatrix::dgsmatrix(), idamax(), nullify(), operator()(), operator*(), dgsmatrix::operator*=(), operator+(), dgsmatrix::operator+=(), operator-(), dgsmatrix::operator-=(), operator/(), operator<<(), dgsmatrix::shallow_copy(), t(), to_dgematrix(), to_zgsmatrix(), write(), and ~_dgsmatrix().
|
mutable |
array of vector to store the entry information of component for each row
Definition at line 12 of file _dgsmatrix.hpp.
Referenced by _(), _dgsmatrix(), destroy(), dgsmatrix::dgsmatrix(), nullify(), operator()(), operator*(), dgsmatrix::operator*=(), operator<<(), dgsmatrix::shallow_copy(), t(), and ~_dgsmatrix().
|
mutable |
array of vector to store the entry information of component for each column
Definition at line 13 of file _dgsmatrix.hpp.
Referenced by _(), _dgsmatrix(), destroy(), dgsmatrix::dgsmatrix(), nullify(), dgsmatrix::shallow_copy(), t(), and ~_dgsmatrix().