7 for(CPPL_INT
i=0;
i<newmat.
m;
i++){
8 const CPPL_INT jmax =std::min(newmat.
n,
i+newmat.
ku+1);
9 for(CPPL_INT j=std::max(CPPL_INT(0),
i-newmat.
kl); j<jmax; j++){
10 newmat(
i,j) =mat(j,
i);
24 std::cerr <<
"This matrix is not square and has no inverse matrix." << std::endl
25 <<
"Your input was (" << mat.
m <<
"x" << mat.
n <<
")." << std::endl;
33 mat_cp.
dgbsv(mat_inv);
CPPL_INT m
matrix row size
_dgbmatrix t(const dgbmatrix &mat)
Real Double-precision General Dence Matrix Class.
CPPL_INT kl
lower band width
CPPL_INT ku
upper band width
(DO NOT USE) Smart-temporary Real Double-precision General Dence Matrix Class
Real Double-precision General Band Matrix Class.
_dgematrix i(const dgbmatrix &mat)
CPPL_INT dgbsv(dgematrix &)
(DO NOT USE) Smart-temporary Real Double-precision General Band Matrix Class
CPPL_INT n
matrix column size
_dcovector _(dcovector &vec)