#include <general.h>
Public Types | |
| enum | { US = 0, UT = Valid + Upper + Square, LT = Valid + Lower + Square, Rt = Valid, Sq = Valid + Square, Sm = Valid + Symmetric + Square, Sk = Valid + Skew + Square, Dg, Id, RV = Valid, CV = Valid, BM = Valid + Band + Square, UB = Valid + Band + Upper + Square, LB = Valid + Band + Lower + Square, SB = Valid + Band + Symmetric + Square, KB = Valid + Band + Skew + Square, Ct = Valid + LUDeco + Square, BC = Valid + Band + LUDeco + Square, Mask = ~Square } |
| enum | Attribute { Valid = 1, Diagonal = 2, Symmetric = 4, Band = 8, Lower = 16, Upper = 32, Square = 64, Skew = 128, LUDeco = 256, Ones = 512 } |
Public Member Functions | |
| MatrixType | AddEqualEl () const |
| < add constant to matrix | |
| bool | CannotConvert () const |
| MatrixType | i () const |
| type of inverse | |
| bool | is_band () const |
| bool | is_diagonal () const |
| bool | is_symmetric () const |
| MatrixType | KP (const MatrixType &) const |
| MatrixType () | |
| MatrixType (int i) | |
| MatrixType (int i, bool dlok) | |
| MatrixType (const MatrixType &mt) | |
| MatrixType | MultRHS () const |
| type for rhs of multiply | |
| GeneralMatrix * | New () const |
| new matrix of given type | |
| GeneralMatrix * | New (int, int, BaseMatrix *) const |
| new matrix of given type | |
| bool | operator! () const |
| bool | operator!= (MatrixType t) const |
| MatrixType | operator& (const MatrixType &mt) const |
| MatrixType | operator* (const MatrixType &) const |
| int | operator+ () const |
| MatrixType | operator+ (MatrixType mt) const |
| bool | operator< (MatrixType mt) const |
| void | operator= (const MatrixType &mt) |
| bool | operator== (MatrixType t) const |
| bool | operator>= (MatrixType mt) const |
| MatrixType | operator| (const MatrixType &mt) const |
| void | SetDataLossOK () |
| MatrixType | SP (const MatrixType &) const |
| MatrixType | ssub () const |
| < type of sym submatrix | |
| MatrixType | sub () const |
| < type of submatrix | |
| MatrixType | t () const |
| type of transpose | |
| const char * | value () const |
| type as char string | |
| const char * | Value () const |
Static Public Member Functions | |
| static int | nTypes () |
Public Attributes | |
| int | attribute |
| bool | DataLossOK |
Friends | |
| bool | Compare (const MatrixType &, MatrixType &) |
| compare and check conversion | |
| bool | Rectangular (MatrixType a, MatrixType b, MatrixType c) |
Find the type of a matrix resulting from matrix operations. Also identify what conversions are permissible. This class must be updated when new matrix types are added.
| anonymous enum |
| MatrixType::MatrixType | ( | ) | [inline] |
| MatrixType::MatrixType | ( | int | i | ) | [inline] |
| MatrixType::MatrixType | ( | int | i, |
| bool | dlok | ||
| ) | [inline] |
| MatrixType::MatrixType | ( | const MatrixType & | mt | ) | [inline] |
| MatrixType MatrixType::AddEqualEl | ( | ) | const [inline] |
| bool MatrixType::CannotConvert | ( | ) | const [inline] |
| MatrixType MatrixType::i | ( | ) | const |
type of inverse
Definition at line 547 of file NewMatExhaustive.cpp.
| bool MatrixType::is_band | ( | ) | const [inline] |
| bool MatrixType::is_diagonal | ( | ) | const [inline] |
| bool MatrixType::is_symmetric | ( | ) | const [inline] |
| MatrixType MatrixType::KP | ( | const MatrixType & | mt | ) | const |
Definition at line 532 of file NewMatExhaustive.cpp.
| MatrixType MatrixType::MultRHS | ( | ) | const |
type for rhs of multiply
Definition at line 565 of file NewMatExhaustive.cpp.
| GeneralMatrix* MatrixType::New | ( | ) | const |
new matrix of given type
| GeneralMatrix * MatrixType::New | ( | int | nr, |
| int | nc, | ||
| BaseMatrix * | bm | ||
| ) | const |
new matrix of given type
Definition at line 611 of file NewMatExhaustive.cpp.
| static int MatrixType::nTypes | ( | ) | [inline, static] |
| bool MatrixType::operator! | ( | ) | const [inline] |
| bool MatrixType::operator!= | ( | MatrixType | t | ) | const [inline] |
| MatrixType MatrixType::operator& | ( | const MatrixType & | mt | ) | const [inline] |
| MatrixType MatrixType::operator* | ( | const MatrixType & | mt | ) | const |
Definition at line 502 of file NewMatExhaustive.cpp.
| MatrixType MatrixType::operator+ | ( | MatrixType | mt | ) | const [inline] |
| bool MatrixType::operator< | ( | MatrixType | mt | ) | const [inline] |
| void MatrixType::operator= | ( | const MatrixType & | mt | ) | [inline] |
| bool MatrixType::operator== | ( | MatrixType | t | ) | const [inline] |
| bool MatrixType::operator>= | ( | MatrixType | mt | ) | const [inline] |
| MatrixType MatrixType::operator| | ( | const MatrixType & | mt | ) | const [inline] |
| void MatrixType::SetDataLossOK | ( | ) | [inline] |
| MatrixType MatrixType::SP | ( | const MatrixType & | mt | ) | const |
Definition at line 510 of file NewMatExhaustive.cpp.
| MatrixType MatrixType::ssub | ( | ) | const [inline] |
| MatrixType MatrixType::sub | ( | ) | const [inline] |
| MatrixType MatrixType::t | ( | ) | const |
type of transpose
Definition at line 555 of file NewMatExhaustive.cpp.
| const char * MatrixType::value | ( | ) | const |
type as char string
Definition at line 581 of file NewMatExhaustive.cpp.
| const char* MatrixType::Value | ( | ) | const [inline] |
| bool Compare | ( | const MatrixType & | source, |
| MatrixType & | destination | ||
| ) | [friend] |
compare and check conversion
Definition at line 1648 of file NewMatExhaustive.cpp.
| bool Rectangular | ( | MatrixType | a, |
| MatrixType | b, | ||
| MatrixType | c | ||
| ) | [friend] |
Definition at line 573 of file NewMatExhaustive.cpp.