|
BOSS 8.0.0
BESIII Offline Software System
|
#include <EmcLSSMatrix.h>
Public Member Functions | |
| EmcLSSMatrix () | |
| EmcLSSMatrix (int rows, int nonzero_col) | |
| EmcLSSMatrix (int rows, int nonzero_col, int MsgFlag) | |
| EmcLSSMatrix (const EmcLSSMatrix &m1) | |
| ~EmcLSSMatrix () | |
| double & | operator() (int row, int col) |
| const int & | num_rows () const |
| const int & | num_cols () const |
| const long & | size () const |
| double * | matrix (const int &rowind=0) const |
| int * | row () const |
| int * | column (const int &rowind=0) const |
| int | num_filled_rows (const int col) const |
| int | num_filled_cols (const int row) const |
| long int | num_nonZeros () |
| void | print_NonZeros () |
| void | print_row (int rownr) |
| void | writeOut (ostream &Out) |
| void | readIn (istream &In) |
| void | set_verbose (bool setting) |
| void | reset () |
| bool | reduce_Matrix (int *xRef_list) |
Protected Member Functions | |
| long int | find (int row, int col) |
Implementation of a Large Sparse Symmetric Matrix,
Per row only the nonzero elements are stored together with their column indices. (the storiage of the row index is a tribute to SLAP which needs it)
Definition at line 45 of file EmcLSSMatrix.h.
| EmcLSSMatrix::EmcLSSMatrix | ( | ) |
Definition at line 42 of file EmcLSSMatrix.cxx.
Referenced by EmcLSSMatrix().
| EmcLSSMatrix::EmcLSSMatrix | ( | int | rows, |
| int | nonzero_col ) |
Definition at line 52 of file EmcLSSMatrix.cxx.
| EmcLSSMatrix::EmcLSSMatrix | ( | int | rows, |
| int | nonzero_col, | ||
| int | MsgFlag ) |
Definition at line 69 of file EmcLSSMatrix.cxx.
| EmcLSSMatrix::EmcLSSMatrix | ( | const EmcLSSMatrix & | m1 | ) |
Definition at line 86 of file EmcLSSMatrix.cxx.
| EmcLSSMatrix::~EmcLSSMatrix | ( | ) |
Definition at line 109 of file EmcLSSMatrix.cxx.
| int * EmcLSSMatrix::column | ( | const int & | rowind = 0 | ) | const |
Definition at line 273 of file EmcLSSMatrix.cxx.
|
protected |
Definition at line 157 of file EmcLSSMatrix.cxx.
Referenced by operator()(), and readIn().
| double * EmcLSSMatrix::matrix | ( | const int & | rowind = 0 | ) | const |
Definition at line 256 of file EmcLSSMatrix.cxx.
|
inline |
Definition at line 75 of file EmcLSSMatrix.h.
| int EmcLSSMatrix::num_filled_cols | ( | const int | row | ) | const |
Definition at line 291 of file EmcLSSMatrix.cxx.
Referenced by print_row().
| int EmcLSSMatrix::num_filled_rows | ( | const int | col | ) | const |
Definition at line 304 of file EmcLSSMatrix.cxx.
| long int EmcLSSMatrix::num_nonZeros | ( | ) |
Definition at line 314 of file EmcLSSMatrix.cxx.
Referenced by writeOut().
|
inline |
Definition at line 72 of file EmcLSSMatrix.h.
| double & EmcLSSMatrix::operator() | ( | int | row, |
| int | col ) |
Definition at line 135 of file EmcLSSMatrix.cxx.
| void EmcLSSMatrix::print_NonZeros | ( | ) |
Definition at line 411 of file EmcLSSMatrix.cxx.
| void EmcLSSMatrix::print_row | ( | int | rownr | ) |
Definition at line 450 of file EmcLSSMatrix.cxx.
| void EmcLSSMatrix::readIn | ( | istream & | In | ) |
Definition at line 513 of file EmcLSSMatrix.cxx.
| bool EmcLSSMatrix::reduce_Matrix | ( | int * | xRef_list | ) |
Definition at line 342 of file EmcLSSMatrix.cxx.
| void EmcLSSMatrix::reset | ( | ) |
Definition at line 333 of file EmcLSSMatrix.cxx.
|
inline |
Definition at line 81 of file EmcLSSMatrix.h.
Referenced by find(), num_filled_cols(), and operator()().
|
inline |
Definition at line 108 of file EmcLSSMatrix.h.
|
inline |
Definition at line 78 of file EmcLSSMatrix.h.
| void EmcLSSMatrix::writeOut | ( | ostream & | Out | ) |
Definition at line 488 of file EmcLSSMatrix.cxx.