#include "DenseVector.h"#include "SparseVector.h"#include "SparseMatrix.h"#include <iostream>#include <cassert>#include <sstream>#include "MathLib.h"
Go to the source code of this file.
Namespaces | |
| namespace | momdp |
Defines | |
| #define | DenseVector_Operator(OP) |
Functions | |
| momdp::DenseVector_Operator (+=) | |
| momdp::DenseVector_Operator (-=) | |
| #define DenseVector_Operator | ( | OP | ) |
void DenseVector::operator OP(const DenseVector& x) \ { \ vector<REAL_VALUE>::const_iterator xi; \ assert( size() == x.size() ); \ xi = x.data.begin(); \ FOREACH_NOCONST(REAL_VALUE, di, data) { \ (*di) OP (*xi); \ xi++; \ } \ }
Definition at line 49 of file DenseVector.cpp.