Class for sparse Matrixs (used in modifying distances in FP) More...
#include <CouenneSparseMatrix.hpp>
Public Member Functions | |
CouenneSparseMatrix () | |
Constructor. More... | |
CouenneSparseMatrix (const CouenneSparseMatrix &) | |
Copy constructor. More... | |
CouenneSparseMatrix & | operator= (const CouenneSparseMatrix &rhs) |
Assignment. More... | |
CouenneSparseMatrix * | clone () |
Clone. More... | |
virtual | ~CouenneSparseMatrix () |
Destructor. More... | |
int & | num () |
Get methods. More... | |
double *& | val () |
values More... | |
int *& | col () |
column indices More... | |
int *& | row () |
row indices More... | |
Private Attributes | |
int | num_ |
Stores the values of the Matrix of the Lagrangian at optimum for later use. More... | |
double * | val_ |
values More... | |
int * | col_ |
column indices More... | |
int * | row_ |
row indices More... | |
Class for sparse Matrixs (used in modifying distances in FP)
Definition at line 17 of file CouenneSparseMatrix.hpp.
CouenneSparseMatrix::CouenneSparseMatrix | ( | ) |
CouenneSparseMatrix::CouenneSparseMatrix | ( | const CouenneSparseMatrix & | rhs | ) |
Copy constructor.
Definition at line 37 of file CouenneSparseMatrix.cpp.
|
virtual |
CouenneSparseMatrix & CouenneSparseMatrix::operator= | ( | const CouenneSparseMatrix & | rhs | ) |
Assignment.
Definition at line 41 of file CouenneSparseMatrix.cpp.
CouenneSparseMatrix * CouenneSparseMatrix::clone | ( | ) |
Clone.
Definition at line 53 of file CouenneSparseMatrix.cpp.
|
inline |
|
inline |
values
Definition at line 38 of file CouenneSparseMatrix.hpp.
|
inline |
column indices
Definition at line 39 of file CouenneSparseMatrix.hpp.
|
inline |
row indices
Definition at line 40 of file CouenneSparseMatrix.hpp.
|
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.
|
private |
values
Definition at line 46 of file CouenneSparseMatrix.hpp.
|
private |
column indices
Definition at line 47 of file CouenneSparseMatrix.hpp.
|
private |
row indices
Definition at line 48 of file CouenneSparseMatrix.hpp.