#include <DenseVector.h>

Public Member Functions | |
| int | argSampleDist () |
| void | copyFrom (const DenseVector &x) |
| DenseVector (void) | |
| DenseVector (int _size) | |
| DenseVector * | mult (SparseMatrix &A) |
| double | norm_2 () |
| double | norm_inf () |
| REAL_VALUE & | operator() (unsigned int i) |
| REAL_VALUE | operator() (unsigned int i) const |
| void | operator*= (REAL_VALUE s) |
| void | operator+= (const DenseVector &x) |
| void | operator+= (const SparseVector &x) |
| void | operator-= (const DenseVector &x) |
| void | operator-= (const SparseVector &x) |
| void | read (std::istream &in) |
| void | resize (int _size, REAL_VALUE value) |
| void | resize (int _size) |
| int | size (void) const |
| string | ToString () const |
| std::ostream & | write (std::ostream &out) const |
| virtual | ~DenseVector (void) |
Public Attributes | |
| vector< REAL_VALUE > | data |
Friends | |
| class | SparseMatrix |
| class | SparseVector |
Definition at line 19 of file DenseVector.h.
| momdp::DenseVector::DenseVector | ( | void | ) |
Definition at line 14 of file DenseVector.cpp.
| momdp::DenseVector::DenseVector | ( | int | _size | ) |
Definition at line 17 of file DenseVector.cpp.
| momdp::DenseVector::~DenseVector | ( | void | ) | [virtual] |
Definition at line 21 of file DenseVector.cpp.
Definition at line 74 of file DenseVector.cpp.
| void momdp::DenseVector::copyFrom | ( | const DenseVector & | x | ) | [inline] |
Definition at line 33 of file DenseVector.h.
| double momdp::DenseVector::norm_2 | ( | ) | [inline] |
Definition at line 70 of file DenseVector.h.
| double momdp::DenseVector::norm_inf | ( | ) | [inline] |
Definition at line 59 of file DenseVector.h.
| REAL_VALUE& momdp::DenseVector::operator() | ( | unsigned int | i | ) | [inline] |
Definition at line 40 of file DenseVector.h.
| REAL_VALUE momdp::DenseVector::operator() | ( | unsigned int | i | ) | const [inline] |
Definition at line 45 of file DenseVector.h.
| void momdp::DenseVector::operator*= | ( | REAL_VALUE | s | ) |
Definition at line 67 of file DenseVector.cpp.
| void momdp::DenseVector::operator+= | ( | const DenseVector & | x | ) |
| void momdp::DenseVector::operator+= | ( | const SparseVector & | x | ) |
| void momdp::DenseVector::operator-= | ( | const DenseVector & | x | ) |
| void momdp::DenseVector::operator-= | ( | const SparseVector & | x | ) |
| void momdp::DenseVector::read | ( | std::istream & | in | ) |
Definition at line 112 of file DenseVector.cpp.
| void momdp::DenseVector::resize | ( | int | _size, |
| REAL_VALUE | value | ||
| ) |
Definition at line 94 of file DenseVector.cpp.
| void momdp::DenseVector::resize | ( | int | _size | ) |
Definition at line 105 of file DenseVector.cpp.
| int momdp::DenseVector::size | ( | void | ) | const [inline] |
Definition at line 85 of file DenseVector.h.
| string momdp::DenseVector::ToString | ( | ) | const |
Definition at line 146 of file DenseVector.cpp.
| ostream & momdp::DenseVector::write | ( | std::ostream & | out | ) | const |
Definition at line 135 of file DenseVector.cpp.
friend class SparseMatrix [friend] |
Definition at line 21 of file DenseVector.h.
friend class SparseVector [friend] |
Definition at line 22 of file DenseVector.h.
| vector<REAL_VALUE> momdp::DenseVector::data |
Definition at line 24 of file DenseVector.h.