7 for(CPPL_INT
i=0;
i<newmat.
m;
i++){
8 for(CPPL_INT j=0; j<newmat.
n; j++){
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.
dgesv(mat_inv);
47 CPPL_INT mn =mat.
m*mat.
n;
49 CPPL_INT index =idamax_(&mn, mat.
array, &inc) -1;
60 CPPL_INT mn =mat.
m*mat.
n;
62 double val =mat.
array[idamax_(&mn, mat.
array, &inc) -1];
_dgematrix t(const _dgematrix &mat)
CPPL_INT m
matrix row size
CPPL_INT n
matrix column size
Real Double-precision General Dence Matrix Class.
CPPL_INT dgesv(dgematrix &)
CPPL_INT m
matrix row size
double * array
1D array to store matrix data
(DO NOT USE) Smart-temporary Real Double-precision General Dence Matrix Class
void idamax(CPPL_INT &i, CPPL_INT &j, const _dgematrix &mat)
CPPL_INT n
matrix column size
_dgematrix i(const _dgematrix &mat)
_dcovector _(dcovector &vec)
double damax(const _dgematrix &mat)