Go to the source code of this file.
swap two matrices
Definition at line 348 of file dgsmatrix-misc.hpp.
References dgsmatrix::cols, dgsmatrix::data, dgsmatrix::m, dgsmatrix::n, and dgsmatrix::rows.
Referenced by _().
349 {CPPL_VERBOSE_REPORT;
void swap(dgsmatrix &A, dgsmatrix &B)
std::vector< dcomponent > data
matrix data
CPPL_INT n
matrix column size
std::vector< std::vector< CPPL_INT > > cols
array of vector to store the entry information of component for each column
std::vector< std::vector< CPPL_INT > > rows
array of vector to store the entry information of component for each row
CPPL_INT m
matrix row size
convert user object to smart-temporary object
Definition at line 359 of file dgsmatrix-misc.hpp.
References _dgsmatrix::cols, dgsmatrix::cols, _dgsmatrix::data, dgsmatrix::data, dgsmatrix::m, _dgsmatrix::m, dgsmatrix::n, _dgsmatrix::n, _dgsmatrix::rows, dgsmatrix::rows, and swap().
360 {CPPL_VERBOSE_REPORT;
void swap(dgsmatrix &A, dgsmatrix &B)
std::vector< std::vector< CPPL_INT > > cols
array of vector to store the entry information of component for each column
std::vector< dcomponent > data
matrix data
std::vector< std::vector< CPPL_INT > > rows
array of vector to store the entry information of component for each row
CPPL_INT n
matrix column size
CPPL_INT n
matrix column size
std::vector< std::vector< CPPL_INT > > cols
array of vector to store the entry information of component for each column
(DO NOT USE) Smart-temporary Real Double-precision General Sparse Matrix Class
CPPL_INT m
matrix row size
std::vector< dcomponent > data
matrix data
std::vector< std::vector< CPPL_INT > > rows
array of vector to store the entry information of component for each row
CPPL_INT m
matrix row size