#include <Smatrix.hpp>
Inheritance diagram for smatrix::svector::

Public Methods | |
| svector (const t &ep) | |
| t | GetEpsilon () const |
| template<class tb> t | operator * (const tb &b) |
| svector & | operator= (const class const_svector_ref &a) |
| t | Coef (const_iterator p) const |
| void | CalcEpsilon (const t &d) |
| iterator | insert (iterator p, size_t x, const t &d) |
| t & | operator() (size_t n) |
| t | operator() (size_t n) const |
Static Public Methods | |
| size_t | Index (iterator p) |
| size_t | Index (const_iterator p) |
| t & | Coef (iterator p) |
Public Attributes | |
| rng | range |
| t | epsilon |
| t | maxCoef |
|
||||||||||
|
Definition at line 319 of file Smatrix.hpp. |
|
||||||||||
|
Definition at line 335 of file Smatrix.hpp. Referenced by insert().
00336 {
00337 sm::CalcEpsilon(maxCoef, epsilon, d);
00338 }
|
|
||||||||||
|
Definition at line 334 of file Smatrix.hpp. 00334 { return(p->second); }
|
|
||||||||||
|
Definition at line 328 of file Smatrix.hpp. 00329 {
00330 return(p->second);
00331 }
|
|
|||||||||
|
Definition at line 320 of file Smatrix.hpp. 00320 { return(epsilon); }
|
|
||||||||||
|
Definition at line 333 of file Smatrix.hpp. 00333 { return(p->first); }
|
|
||||||||||
|
Definition at line 332 of file Smatrix.hpp. 00332 { return(p->first); }
|
|
||||||||||||||||||||
|
Definition at line 339 of file Smatrix.hpp. 00340 {
00341 CalcEpsilon(d);
00342 return(map<size_t, t>::insert(p, pair<size_t, t>(x, d)));
00343 }
|
|
||||||||||||||
|
Definition at line 321 of file Smatrix.hpp. 00322 {
00323 epsilon *= b;
00324 maxCoef *= b;
00325 return(svMultiply(*this, b));
00326 }
|
|
||||||||||
|
Definition at line 348 of file Smatrix.hpp. 00349 {
00350 const_iterator p = find(n);
00351 return(p == end() ? 0 : p->second);
00352 }
|
|
||||||||||
|
Definition at line 344 of file Smatrix.hpp. 00345 {
00346 return(operator[](n)->second);
00347 }
|
|
||||||||||
|
|
|
|||||
|
Definition at line 317 of file Smatrix.hpp. |
|
|||||
|
Definition at line 317 of file Smatrix.hpp. |
|
|||||
|
Definition at line 316 of file Smatrix.hpp. |
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001