Couenne::CouenneSparseMatrix Class Reference

Class for sparse Matrixs (used in modifying distances in FP). More...

#include <CouenneSparseMatrix.hpp>

List of all members.

Public Member Functions

 CouenneSparseMatrix ()
 Constructor.
 CouenneSparseMatrix (const CouenneSparseMatrix &)
 Copy constructor.
CouenneSparseMatrixoperator= (const CouenneSparseMatrix &rhs)
 Assignment.
CouenneSparseMatrixclone ()
 Clone.
virtual ~CouenneSparseMatrix ()
 Destructor.
int & num ()
 Get methods number of elements.
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 number of elements.
double * val_
 values
int * col_
 column indices
int * row_
 row indices


Detailed Description

Class for sparse Matrixs (used in modifying distances in FP).

Definition at line 17 of file CouenneSparseMatrix.hpp.


Constructor & Destructor Documentation

CouenneSparseMatrix::CouenneSparseMatrix (  ) 

Constructor.

Definition at line 17 of file CouenneSparseMatrix.cpp.

Referenced by clone().

CouenneSparseMatrix::CouenneSparseMatrix ( const CouenneSparseMatrix  ) 

Copy constructor.

Definition at line 37 of file CouenneSparseMatrix.cpp.

References operator=().

CouenneSparseMatrix::~CouenneSparseMatrix (  )  [virtual]

Destructor.

Definition at line 26 of file CouenneSparseMatrix.cpp.

References col_, row_, and val_.


Member Function Documentation

CouenneSparseMatrix & CouenneSparseMatrix::operator= ( const CouenneSparseMatrix rhs  ) 

Assignment.

Definition at line 41 of file CouenneSparseMatrix.cpp.

References col_, num_, row_, and val_.

Referenced by CouenneSparseMatrix().

CouenneSparseMatrix * CouenneSparseMatrix::clone (  ) 

Clone.

Definition at line 53 of file CouenneSparseMatrix.cpp.

References CouenneSparseMatrix().

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]

values

Definition at line 38 of file CouenneSparseMatrix.hpp.

References val_.

int*& Couenne::CouenneSparseMatrix::col (  )  [inline]

column indices

Definition at line 39 of file CouenneSparseMatrix.hpp.

References col_.

int*& Couenne::CouenneSparseMatrix::row (  )  [inline]

row indices

Definition at line 40 of file CouenneSparseMatrix.hpp.

References row_.


Member Data Documentation

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(), and operator=().

double* Couenne::CouenneSparseMatrix::val_ [private]

values

Definition at line 46 of file CouenneSparseMatrix.hpp.

Referenced by operator=(), val(), and ~CouenneSparseMatrix().

int* Couenne::CouenneSparseMatrix::col_ [private]

column indices

Definition at line 47 of file CouenneSparseMatrix.hpp.

Referenced by col(), operator=(), and ~CouenneSparseMatrix().

int* Couenne::CouenneSparseMatrix::row_ [private]

row indices

Definition at line 48 of file CouenneSparseMatrix.hpp.

Referenced by operator=(), row(), and ~CouenneSparseMatrix().


The documentation for this class was generated from the following files:
Generated on Thu Nov 10 03:14:17 2011 by  doxygen 1.4.7