OBOE  0.1
Accpm::AccpmDynMatrix Class Reference

#include <AccpmDynMatrix.h>

List of all members.

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 &)
AccpmDynMatrixoperator= (double s)
AccpmDynMatrixoperator= (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)

Detailed Description

Class for handling dynamic matrices which are capable of resizing


Constructor & Destructor Documentation

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 
)

Member Function Documentation

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().

adds a row in the end and returns its id in the Matrix

References Accpm::AccpmGenMatrix::assignRow().

References size().

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().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const AccpmDynMatrix mat 
) [friend]

The documentation for this class was generated from the following files: