BOSS 7.0.8
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 47 of file EmcLSSMatrix.h.
EmcLSSMatrix::EmcLSSMatrix | ( | ) |
Definition at line 43 of file EmcLSSMatrix.cxx.
EmcLSSMatrix::EmcLSSMatrix | ( | int | rows, |
int | nonzero_col | ||
) |
Definition at line 49 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 89 of file EmcLSSMatrix.cxx.
EmcLSSMatrix::~EmcLSSMatrix | ( | ) |
Definition at line 112 of file EmcLSSMatrix.cxx.
int * EmcLSSMatrix::column | ( | const int & | rowind = 0 | ) | const |
Definition at line 295 of file EmcLSSMatrix.cxx.
|
protected |
Definition at line 164 of file EmcLSSMatrix.cxx.
Referenced by operator()(), and readIn().
double * EmcLSSMatrix::matrix | ( | const int & | rowind = 0 | ) | const |
Definition at line 273 of file EmcLSSMatrix.cxx.
|
inline |
Definition at line 78 of file EmcLSSMatrix.h.
int EmcLSSMatrix::num_filled_cols | ( | const int | row | ) | const |
Definition at line 318 of file EmcLSSMatrix.cxx.
Referenced by print_row().
int EmcLSSMatrix::num_filled_rows | ( | const int | col | ) | const |
Definition at line 333 of file EmcLSSMatrix.cxx.
long int EmcLSSMatrix::num_nonZeros | ( | ) |
Definition at line 349 of file EmcLSSMatrix.cxx.
Referenced by writeOut().
|
inline |
Definition at line 75 of file EmcLSSMatrix.h.
double & EmcLSSMatrix::operator() | ( | int | row, |
int | col | ||
) |
Definition at line 139 of file EmcLSSMatrix.cxx.
void EmcLSSMatrix::print_NonZeros | ( | ) |
Definition at line 460 of file EmcLSSMatrix.cxx.
Referenced by EmcBhaCalibData::readIn().
void EmcLSSMatrix::print_row | ( | int | rownr | ) |
Definition at line 505 of file EmcLSSMatrix.cxx.
void EmcLSSMatrix::readIn | ( | istream & | In | ) |
Definition at line 580 of file EmcLSSMatrix.cxx.
Referenced by EmcBhaCalibData::readIn().
bool EmcLSSMatrix::reduce_Matrix | ( | int * | xRef_list | ) |
Definition at line 382 of file EmcLSSMatrix.cxx.
Referenced by EmcBhaCalibData::reduce().
void EmcLSSMatrix::reset | ( | ) |
Definition at line 370 of file EmcLSSMatrix.cxx.
Referenced by EmcBhaCalibData::reset().
|
inline |
Definition at line 84 of file EmcLSSMatrix.h.
Referenced by find(), num_filled_cols(), and operator()().
|
inline |
Definition at line 111 of file EmcLSSMatrix.h.
|
inline |
Definition at line 81 of file EmcLSSMatrix.h.
void EmcLSSMatrix::writeOut | ( | ostream & | Out | ) |
Definition at line 546 of file EmcLSSMatrix.cxx.
Referenced by EmcBhaCalibData::writeOut().