#include <Smatrix.hpp>
Public Methods | |
coefRef (smatrix< t > *m, size_t i, size_t j) | |
coefRef & | operator= (const t &d) |
operator t () const | |
Public Attributes | |
smatrix< t > * | m |
size_t | i |
size_t | j |
|
Definition at line 539 of file Smatrix.hpp. |
|
Definition at line 568 of file Smatrix.hpp. |
|
Definition at line 545 of file Smatrix.hpp. 00546 { 00547 if(abs(d) > m->epsilon) 00548 { 00549 if(i > m->iDim || j > m->jDim) 00550 m->insert(i, j, d); 00551 else 00552 { 00553 const map<size_t, size_t> *r = (*m->iMap)[i]; 00554 map<size_t, size_t>::const_iterator p = r->find(j); 00555 if(p == r->end()) 00556 m->insert(i, j, d); 00557 else 00558 { 00559 m->e[p->second] = d; 00560 CalcEpsilon(m->maxCoef, m->epsilon, d); 00561 } 00562 } 00563 } 00564 else if(i <= m->iDim && j <= m->jDim) 00565 m->erase(i, j); 00566 return(*this); 00567 } |
|
Definition at line 537 of file Smatrix.hpp. |
|
Definition at line 537 of file Smatrix.hpp. |
|
Definition at line 536 of file Smatrix.hpp. |