Class for sparse Matrixs (used in modifying distances in FP). More...
#include <CouenneSparseMatrix.hpp>
Public Member Functions | |
| CouenneSparseMatrix () | |
| Constructor. | |
| CouenneSparseMatrix (const CouenneSparseMatrix &) | |
| Copy constructor. | |
| CouenneSparseMatrix & | operator= (const CouenneSparseMatrix &rhs) |
| Assignment. | |
| CouenneSparseMatrix * | clone () |
| Clone. | |
| virtual | ~CouenneSparseMatrix () |
| Destructor. | |
| int & | num () |
| Get methods. | |
| double *& | val () |
| values | |
| int *& | col () |
| column indices | |
| int *& | row () |
| row indices | |
Private Attributes | |
| int | num_ |
| Stores the values of the Matrix of the Lagrangian at optimum for later use. | |
| double * | val_ |
| values | |
| int * | col_ |
| column indices | |
| int * | row_ |
| row indices | |
Class for sparse Matrixs (used in modifying distances in FP).
Definition at line 17 of file CouenneSparseMatrix.hpp.
| Couenne::CouenneSparseMatrix::CouenneSparseMatrix | ( | ) |
Constructor.
| Couenne::CouenneSparseMatrix::CouenneSparseMatrix | ( | const CouenneSparseMatrix & | ) |
Copy constructor.
| virtual Couenne::CouenneSparseMatrix::~CouenneSparseMatrix | ( | ) | [virtual] |
Destructor.
| CouenneSparseMatrix& Couenne::CouenneSparseMatrix::operator= | ( | const CouenneSparseMatrix & | rhs | ) |
Assignment.
| CouenneSparseMatrix* Couenne::CouenneSparseMatrix::clone | ( | ) |
Clone.
| int& Couenne::CouenneSparseMatrix::num | ( | ) | [inline] |
Get methods.
number of elements
Definition at line 37 of file CouenneSparseMatrix.hpp.
References num_.
| double*& Couenne::CouenneSparseMatrix::val | ( | ) | [inline] |
| int*& Couenne::CouenneSparseMatrix::col | ( | ) | [inline] |
| int*& Couenne::CouenneSparseMatrix::row | ( | ) | [inline] |
int Couenne::CouenneSparseMatrix::num_ [private] |
Stores the values of the Matrix of the Lagrangian at optimum for later use.
number of elements
Definition at line 45 of file CouenneSparseMatrix.hpp.
Referenced by num().
double* Couenne::CouenneSparseMatrix::val_ [private] |
int* Couenne::CouenneSparseMatrix::col_ [private] |
int* Couenne::CouenneSparseMatrix::row_ [private] |
1.6.1