|
OBOE
0.1
|
#include <AccpmDynMatrix.h>
Public Member Functions | |
| AccpmDynMatrix (bool preallocateRows=true, bool preallocateCols=true, int m=0, int n=0) | |
| AccpmDynMatrix (const AccpmGenMatrix &rhs, bool preallocateRows=true, bool preallocateCols=true) | |
| AccpmDynMatrix (const AccpmDynMatrix &) | |
| AccpmDynMatrix & | operator= (double s) |
| AccpmDynMatrix & | operator= (const AccpmDynMatrix &) |
| virtual | ~AccpmDynMatrix () |
| AccpmGenMatrix | getM () const |
| int | addColumn (const AccpmVector &v) |
| int | addRow (const AccpmVector &v) |
| int | deleteColumn (int id) |
| int | size (int n) const |
| std::ostream & | Info (std::ostream &os) |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const AccpmDynMatrix &mat) |
Class for handling dynamic matrices which are capable of resizing
| Accpm::AccpmDynMatrix::AccpmDynMatrix | ( | bool | preallocateRows = true, |
| bool | preallocateCols = true, |
||
| int | m = 0, |
||
| int | n = 0 |
||
| ) |
| Accpm::AccpmDynMatrix::AccpmDynMatrix | ( | const AccpmGenMatrix & | rhs, |
| bool | preallocateRows = true, |
||
| bool | preallocateCols = true |
||
| ) |
| Accpm::AccpmDynMatrix::AccpmDynMatrix | ( | const AccpmDynMatrix & | rhs | ) |
| Accpm::AccpmDynMatrix::~AccpmDynMatrix | ( | ) | [virtual] |
| int Accpm::AccpmDynMatrix::addColumn | ( | const AccpmVector & | v | ) |
adds a column in the end and returns its id in the Matrix
References Accpm::AccpmGenMatrix::assignColumn().
Referenced by Accpm::Manager::addCut(), Accpm::Manager::check(), and Accpm::Manager::processCuts().
| int Accpm::AccpmDynMatrix::addRow | ( | const AccpmVector & | v | ) |
adds a row in the end and returns its id in the Matrix
References Accpm::AccpmGenMatrix::assignRow().
| int Accpm::AccpmDynMatrix::deleteColumn | ( | int | id | ) |
References size().
| AccpmGenMatrix Accpm::AccpmDynMatrix::getM | ( | ) | const |
return the currently used matrix
Referenced by Accpm::Manager::check(), Accpm::Manager::getActiveCuts(), and Accpm::Manager::processCuts().
| std::ostream& Accpm::AccpmDynMatrix::Info | ( | std::ostream & | os | ) | [inline] |
| AccpmDynMatrix & Accpm::AccpmDynMatrix::operator= | ( | double | s | ) |
| AccpmDynMatrix & Accpm::AccpmDynMatrix::operator= | ( | const AccpmDynMatrix & | rhs | ) |
| int Accpm::AccpmDynMatrix::size | ( | int | n | ) | const |
Referenced by deleteColumn().
| std::ostream& operator<< | ( | std::ostream & | os, |
| const AccpmDynMatrix & | mat | ||
| ) | [friend] |