|
|
Go to the documentation of this file.
29 _Mat = m_get(NoLin, NoCol);
74 std::cerr <<
" !! Trying two multiply two matrices when the number of columns of first one is not equal to number "
75 "of files of second one "
83 m_transp(
_Mat, tempmat);
95 std::cerr <<
"!!!! cannot sum two matrices with different size" << std::endl
100 m_copy(
_Mat, tempmat);
120 std::cerr <<
" !! Trying two multiply two matrices when the number of columns of first one is not equal to number "
121 "of files of second one "
162 << matout.
Mat()->n << std::endl;
170 matout += (-1 * matout2);
204 m_transp(
_Mat, tempmat);
230 m_inverse(
_Mat, tempmat);
231 m_copy(tempmat,
_Mat);
240 std::cerr <<
"EXITING: matrix has only " <<
_Mat->m <<
" lines and " <<
_Mat->n <<
" columns " << std::endl;
241 std::cerr <<
" You tried to add data in line " << lin <<
" and column " <<
col << std::endl;
255 if (lin_last < lin_first) {
256 std::cerr <<
"EXITING: cannot Eliminate Lines in matrix if first line is " << lin_first <<
" and lastt line is "
257 << lin_last << std::endl;
261 ALIint dif = (lin_last - lin_first) + 1;
267 if (ii < lin_first || ii > lin_last) {
277 _Mat = m_get(newANolin, newANocol);
287 if (lin_last < lin_first) {
288 std::cerr <<
"EXITING: cannot Eliminate Lines in matrix if first line is " << lin_first <<
" and lastt line is "
289 << lin_last << std::endl;
293 ALIint dif = (lin_last - lin_first) + 1;
299 if (jj < lin_first || jj > lin_last) {
309 _Mat = m_get(newANolin, newANocol);
321 fout <<
"DUMPM@@@@@ " << mtext <<
" @@@@@" << std::endl;
322 fout <<
"Matrix is (_Mat)" <<
_Mat->m <<
"x" <<
_Mat->n << std::endl;
348 std::cerr <<
" !! Trying two multiply two matrices when the number of columns of first one is not equal to number "
349 "of files of second one "
void setNoColumns(ALIint ncol)
void SetCorrelation(ALIint i1, ALIint i2, ALIdouble corr)
MatrixMeschach operator+(const MatrixMeschach &mat1, const MatrixMeschach &mat2)
ALIdouble operator()(int i, int j) const
void operator+=(const MatrixMeschach &mat)
MatrixMeschach operator*(const MatrixMeschach &mat1, const MatrixMeschach &mat2)
MatrixMeschach operator-(const MatrixMeschach &mat1, const MatrixMeschach &mat2)
void AddData(ALIuint col, ALIuint lin, ALIdouble data)
void EliminateLines(ALIint lin_first, ALIint lin_last)
void Dump(const ALIstring &mtext)
MatrixMeschach & operator=(const MatrixMeschach &mat)
void operator*=(const MatrixMeschach &mat)
void EliminateColumns(ALIint lin_first, ALIint lin_last)
MatrixMeschach * MatrixByMatrix(const MatrixMeschach &mat1, const MatrixMeschach &mat2)
char data[epos_bytes_allocation]
MAT * MatNonConst() const
void ostrDump(std::ostream &fout, const ALIstring &mtext)
void copy(const MatrixMeschach &mat)