$search
#include <newmat.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 |
bool | is_band () const |
bool | is_diagonal () const |
bool | is_symmetric () const |
MatrixType (const MatrixType &mt) | |
MatrixType (int i, bool dlok) | |
MatrixType (int i) | |
MatrixType () | |
GeneralMatrix * | New () const |
new matrix of given type | |
bool | operator! () const |
bool | operator!= (MatrixType t) const |
MatrixType | operator& (const MatrixType &mt) const |
MatrixType | operator+ (MatrixType mt) const |
int | operator+ () 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 | ssub () const |
< type of sym submatrix | |
MatrixType | sub () const |
< type of submatrix | |
const char * | Value () const |
MatrixType | i () const |
type of inverse | |
MatrixType | KP (const MatrixType &) const |
MatrixType | MultRHS () const |
type for rhs of multiply | |
GeneralMatrix * | New (int, int, BaseMatrix *) const |
new matrix of given type | |
MatrixType | operator* (const MatrixType &) const |
MatrixType | SP (const MatrixType &) const |
MatrixType | t () const |
type of transpose | |
const char * | value () const |
type as char string | |
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.
Definition at line 98 of file newmat.h.
anonymous enum |
MatrixType::MatrixType | ( | const MatrixType & | mt | ) | [inline] |
MatrixType MatrixType::AddEqualEl | ( | ) | const [inline] |
MatrixType MatrixType::i | ( | ) | const |
type of inverse
Definition at line 82 of file newmat1.cpp.
MatrixType MatrixType::KP | ( | const MatrixType & | mt | ) | const |
Definition at line 67 of file newmat1.cpp.
MatrixType MatrixType::MultRHS | ( | ) | const |
type for rhs of multiply
Definition at line 100 of file newmat1.cpp.
GeneralMatrix * MatrixType::New | ( | int | nr, | |
int | nc, | |||
BaseMatrix * | bm | |||
) | const |
new matrix of given type
Definition at line 146 of file newmat1.cpp.
GeneralMatrix* MatrixType::New | ( | ) | const |
new matrix of given type
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 37 of file newmat1.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] |
MatrixType MatrixType::SP | ( | const MatrixType & | mt | ) | const |
Definition at line 45 of file newmat1.cpp.
MatrixType MatrixType::ssub | ( | ) | const [inline] |
MatrixType MatrixType::sub | ( | ) | const [inline] |
MatrixType MatrixType::t | ( | ) | const |
type of transpose
Definition at line 90 of file newmat1.cpp.
const char * MatrixType::value | ( | ) | const |
type as char string
Definition at line 116 of file newmat1.cpp.
bool Compare | ( | const MatrixType & | source, | |
MatrixType & | destination | |||
) | [friend] |
compare and check conversion
Definition at line 980 of file newmat4.cpp.
bool Rectangular | ( | MatrixType | a, | |
MatrixType | b, | |||
MatrixType | c | |||
) | [friend] |
Definition at line 108 of file newmat1.cpp.