Band matrix. More...
#include <BandMatrix.h>
Public Member Functions | |
BandMatrix () | |
BandMatrix (int n, int lb, int ub) | |
BandMatrix (const BandMatrix &gm) | |
MatrixBandWidth | bandwidth () const |
Real & | element (int, int) |
Real | element (int, int) const |
Real | maximum () const |
Real | maximum_absolute_value () const |
Real | minimum () const |
Real | minimum_absolute_value () const |
Real & | operator() (int, int) |
Real | operator() (int, int) const |
MatrixInput | operator<< (double) |
MatrixInput | operator<< (float) |
MatrixInput | operator<< (int f) |
void | operator<< (const double *r) |
void | operator<< (const float *r) |
void | operator<< (const int *r) |
void | operator<< (const BaseMatrix &X) |
void | operator= (Real f) |
void | operator= (const BandMatrix &m) |
virtual void | ReSize (int m, int n, int b) |
void | ReSize (const GeneralMatrix &A) |
void | RestoreCol (MatrixColX &c) |
Real | sum () const |
Real | sum_absolute_value () const |
Real | sum_square () const |
void | swap (BandMatrix &gm) |
Real | trace () const |
MatrixType | type () const |
~BandMatrix () | |
void | GetRow (MatrixRowCol &) |
void | GetCol (MatrixRowCol &) |
void | GetCol (MatrixColX &) |
void | RestoreCol (MatrixRowCol &) |
void | NextRow (MatrixRowCol &) |
Public Attributes | |
int | lower_val |
int | upper_val |
GeneralMatrix * | Image () const |
void | CornerClear () const |
set unused parts of BandMatrix to zero | |
short | SimpleAddOK (const GeneralMatrix *gm) |
can we add two band matrices with simple vector add | |
BandMatrix (const BaseMatrix &) | |
void | operator= (const BaseMatrix &) |
assignment operator for BandMatrix | |
LogAndSign | log_determinant () const |
GeneralMatrix * | MakeSolver () |
virtual void | resize (int, int, int) |
void | resize (const GeneralMatrix &A) |
resize BandMatrix | |
void | SetParameters (const GeneralMatrix *) |
Band matrix.
Definition at line 7 of file BandMatrix.h.
BandMatrix::BandMatrix | ( | ) | [inline] |
Definition at line 15 of file BandMatrix.h.
BandMatrix::~BandMatrix | ( | ) | [inline] |
Definition at line 16 of file BandMatrix.h.
BandMatrix::BandMatrix | ( | int | n, |
int | lb, | ||
int | ub | ||
) | [inline] |
Definition at line 17 of file BandMatrix.h.
BandMatrix::BandMatrix | ( | const BaseMatrix & | M | ) |
Definition at line 8479 of file NewMatExhaustive.cpp.
BandMatrix::BandMatrix | ( | const BandMatrix & | gm | ) | [inline] |
Definition at line 33 of file BandMatrix.h.
MatrixBandWidth BandMatrix::bandwidth | ( | ) | const [virtual] |
Reimplemented from BaseMatrix.
Definition at line 1349 of file NewMatExhaustive.cpp.
void BandMatrix::CornerClear | ( | ) | const [protected] |
set unused parts of BandMatrix to zero
Definition at line 8624 of file NewMatExhaustive.cpp.
Real & BandMatrix::element | ( | int | m, |
int | n | ||
) |
Reimplemented in LowerBandMatrix, and UpperBandMatrix.
Definition at line 3400 of file NewMatExhaustive.cpp.
Real BandMatrix::element | ( | int | m, |
int | n | ||
) | const |
Reimplemented in LowerBandMatrix, and UpperBandMatrix.
Definition at line 3409 of file NewMatExhaustive.cpp.
void BandMatrix::GetCol | ( | MatrixRowCol & | mrc | ) | [virtual] |
Implements GeneralMatrix.
Definition at line 6210 of file NewMatExhaustive.cpp.
void BandMatrix::GetCol | ( | MatrixColX & | mrc | ) | [virtual] |
Implements GeneralMatrix.
Definition at line 6238 of file NewMatExhaustive.cpp.
void BandMatrix::GetRow | ( | MatrixRowCol & | mrc | ) | [virtual] |
Implements GeneralMatrix.
Definition at line 6189 of file NewMatExhaustive.cpp.
GeneralMatrix * BandMatrix::Image | ( | ) | const [private, virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in LowerBandMatrix, and UpperBandMatrix.
Definition at line 9080 of file NewMatExhaustive.cpp.
LogAndSign BandMatrix::log_determinant | ( | ) | const [virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in LowerBandMatrix, and UpperBandMatrix.
Definition at line 8944 of file NewMatExhaustive.cpp.
GeneralMatrix * BandMatrix::MakeSolver | ( | ) | [virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in LowerBandMatrix, and UpperBandMatrix.
Definition at line 8809 of file NewMatExhaustive.cpp.
Real BandMatrix::maximum | ( | ) | const [inline, virtual] |
Reimplemented from GeneralMatrix.
Definition at line 47 of file BandMatrix.h.
Real BandMatrix::maximum_absolute_value | ( | ) | const [inline, virtual] |
Reimplemented from GeneralMatrix.
Definition at line 43 of file BandMatrix.h.
Real BandMatrix::minimum | ( | ) | const [inline, virtual] |
Reimplemented from GeneralMatrix.
Definition at line 48 of file BandMatrix.h.
Real BandMatrix::minimum_absolute_value | ( | ) | const [inline, virtual] |
Reimplemented from GeneralMatrix.
Definition at line 45 of file BandMatrix.h.
void BandMatrix::NextRow | ( | MatrixRowCol & | mrc | ) | [virtual] |
Reimplemented from GeneralMatrix.
Definition at line 6201 of file NewMatExhaustive.cpp.
Real & BandMatrix::operator() | ( | int | m, |
int | n | ||
) |
Reimplemented in LowerBandMatrix, and UpperBandMatrix.
Definition at line 2690 of file NewMatExhaustive.cpp.
Real BandMatrix::operator() | ( | int | m, |
int | n | ||
) | const |
Reimplemented in LowerBandMatrix, and UpperBandMatrix.
Definition at line 2802 of file NewMatExhaustive.cpp.
MatrixInput BandMatrix::operator<< | ( | double | ) |
Reimplemented from GeneralMatrix.
Definition at line 2545 of file NewMatExhaustive.cpp.
MatrixInput BandMatrix::operator<< | ( | float | ) |
Reimplemented from GeneralMatrix.
Definition at line 2554 of file NewMatExhaustive.cpp.
MatrixInput BandMatrix::operator<< | ( | int | f | ) | [inline] |
Reimplemented from GeneralMatrix.
Definition at line 114 of file Functions.h.
void BandMatrix::operator<< | ( | const double * | r | ) |
Reimplemented from GeneralMatrix.
Definition at line 2563 of file NewMatExhaustive.cpp.
void BandMatrix::operator<< | ( | const float * | r | ) |
Reimplemented from GeneralMatrix.
Definition at line 2566 of file NewMatExhaustive.cpp.
void BandMatrix::operator<< | ( | const int * | r | ) |
Reimplemented from GeneralMatrix.
Definition at line 2569 of file NewMatExhaustive.cpp.
void BandMatrix::operator<< | ( | const BaseMatrix & | X | ) | [inline] |
Reimplemented from GeneralMatrix.
Definition at line 72 of file BandMatrix.h.
void BandMatrix::operator= | ( | const BaseMatrix & | X | ) |
assignment operator for BandMatrix
Reimplemented in LowerBandMatrix, and UpperBandMatrix.
Definition at line 8616 of file NewMatExhaustive.cpp.
void BandMatrix::operator= | ( | Real | f | ) | [inline] |
Reimplemented from GeneralMatrix.
Reimplemented in LowerBandMatrix, and UpperBandMatrix.
Definition at line 21 of file BandMatrix.h.
void BandMatrix::operator= | ( | const BandMatrix & | m | ) | [inline] |
Definition at line 22 of file BandMatrix.h.
void BandMatrix::resize | ( | int | n, |
int | lb, | ||
int | ub | ||
) | [virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in LowerBandMatrix, and UpperBandMatrix.
Definition at line 8494 of file NewMatExhaustive.cpp.
virtual void BandMatrix::ReSize | ( | int | m, |
int | n, | ||
int | b | ||
) | [inline, virtual] |
Reimplemented in LowerBandMatrix, and UpperBandMatrix.
Definition at line 56 of file BandMatrix.h.
void BandMatrix::resize | ( | const GeneralMatrix & | A | ) | [virtual] |
resize BandMatrix
Reimplemented from GeneralMatrix.
Reimplemented in LowerBandMatrix, and UpperBandMatrix.
Definition at line 8567 of file NewMatExhaustive.cpp.
void BandMatrix::ReSize | ( | const GeneralMatrix & | A | ) | [inline, virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in LowerBandMatrix, and UpperBandMatrix.
Definition at line 58 of file BandMatrix.h.
void BandMatrix::RestoreCol | ( | MatrixRowCol & | mrc | ) | [virtual] |
Reimplemented from GeneralMatrix.
Definition at line 6257 of file NewMatExhaustive.cpp.
void BandMatrix::RestoreCol | ( | MatrixColX & | c | ) | [inline, virtual] |
Reimplemented from GeneralMatrix.
Definition at line 53 of file BandMatrix.h.
void BandMatrix::SetParameters | ( | const GeneralMatrix * | gmx | ) | [virtual] |
Reimplemented from GeneralMatrix.
Definition at line 8487 of file NewMatExhaustive.cpp.
short BandMatrix::SimpleAddOK | ( | const GeneralMatrix * | gm | ) | [protected, virtual] |
can we add two band matrices with simple vector add
For band matrices the bandwidths must agree
Reimplemented from GeneralMatrix.
Definition at line 8518 of file NewMatExhaustive.cpp.
Real BandMatrix::sum | ( | ) | const [inline, virtual] |
Reimplemented from GeneralMatrix.
Definition at line 41 of file BandMatrix.h.
Real BandMatrix::sum_absolute_value | ( | ) | const [inline, virtual] |
Reimplemented from GeneralMatrix.
Definition at line 39 of file BandMatrix.h.
Real BandMatrix::sum_square | ( | ) | const [inline, virtual] |
Reimplemented from GeneralMatrix.
Definition at line 37 of file BandMatrix.h.
void BandMatrix::swap | ( | BandMatrix & | gm | ) |
Definition at line 1960 of file NewMatExhaustive.cpp.
Real BandMatrix::trace | ( | ) | const [virtual] |
Reimplemented from BaseMatrix.
Definition at line 4352 of file NewMatExhaustive.cpp.
MatrixType BandMatrix::type | ( | ) | const [virtual] |
Implements GeneralMatrix.
Reimplemented in LowerBandMatrix, and UpperBandMatrix.
Definition at line 1330 of file NewMatExhaustive.cpp.
Definition at line 14 of file BandMatrix.h.
Definition at line 14 of file BandMatrix.h.