Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

NEWMAT::MatrixType Class Reference

#include <newmat.h>

List of all members.


Detailed Description

Definition at line 91 of file newmat.h.


Public Types

enum  Attribute {
  Valid = 1, Diagonal = 2, Symmetric = 4, Band = 8,
  Lower = 16, Upper = 32, Square = 64, Skew = 128,
  LUDeco = 256, Ones = 512
}
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, Ct = Valid + LUDeco + Square,
  BC = Valid + Band + LUDeco + Square, Mask = ~Square
}

Public Member Functions

 MatrixType ()
 MatrixType (int i)
 MatrixType (int i, bool dlok)
 MatrixType (const MatrixType &mt)
void operator= (const MatrixType &mt)
void SetDataLossOK ()
int operator+ () const
MatrixType operator+ (MatrixType mt) const
MatrixType operator * (const MatrixType &) const
MatrixType SP (const MatrixType &) const
MatrixType KP (const MatrixType &) const
MatrixType operator| (const MatrixType &mt) const
MatrixType operator & (const MatrixType &mt) const
bool operator>= (MatrixType mt) const
bool operator< (MatrixType mt) const
bool operator== (MatrixType t) const
bool operator!= (MatrixType t) const
bool operator! () const
MatrixType i () const
MatrixType t () const
MatrixType AddEqualEl () const
MatrixType MultRHS () const
MatrixType sub () const
MatrixType ssub () const
GeneralMatrixNew () const
GeneralMatrixNew (int, int, BaseMatrix *) const
const char * Value () const
bool IsBand () const
bool IsDiagonal () const
bool IsSymmetric () const
bool CannotConvert () const

Static Public Member Functions

static int nTypes ()

Public Attributes

int attribute
bool DataLossOK

Friends

bool Rectangular (MatrixType a, MatrixType b, MatrixType c)
bool Compare (const MatrixType &, MatrixType &)

Member Enumeration Documentation

Enumerator:
Valid 
Diagonal 
Symmetric 
Band 
Lower 
Upper 
Square 
Skew 
LUDeco 
Ones 

Definition at line 94 of file newmat.h.

anonymous enum

Enumerator:
US 
UT 
LT 
Rt 
Sq 
Sm 
Sk 
Dg 
Id 
RV 
CV 
BM 
UB 
LB 
SB 
Ct 
BC 
Mask 

Definition at line 105 of file newmat.h.


Constructor & Destructor Documentation

NEWMAT::MatrixType::MatrixType (  )  [inline]

Definition at line 135 of file newmat.h.

Referenced by AddEqualEl(), i(), operator &(), operator *(), operator+(), operator|(), ssub(), sub(), and t().

NEWMAT::MatrixType::MatrixType ( int  i  )  [inline]

Definition at line 136 of file newmat.h.

NEWMAT::MatrixType::MatrixType ( int  i,
bool  dlok 
) [inline]

Definition at line 137 of file newmat.h.

NEWMAT::MatrixType::MatrixType ( const MatrixType mt  )  [inline]

Definition at line 138 of file newmat.h.


Member Function Documentation

static int NEWMAT::MatrixType::nTypes (  )  [inline, static]

Definition at line 128 of file newmat.h.

void NEWMAT::MatrixType::operator= ( const MatrixType mt  )  [inline]

Definition at line 140 of file newmat.h.

void NEWMAT::MatrixType::SetDataLossOK (  )  [inline]

Definition at line 142 of file newmat.h.

Referenced by NEWMAT::GeneralMatrix::Eq().

int NEWMAT::MatrixType::operator+ (  )  const [inline]

Definition at line 143 of file newmat.h.

MatrixType NEWMAT::MatrixType::operator+ ( MatrixType  mt  )  const [inline]

Definition at line 144 of file newmat.h.

MatrixType NEWMAT::MatrixType::operator * ( const MatrixType mt  )  const

Definition at line 31 of file newmat1.cpp.

MatrixType NEWMAT::MatrixType::SP ( const MatrixType mt  )  const

Definition at line 39 of file newmat1.cpp.

Referenced by NEWMAT::SPMatrix::Evaluate().

MatrixType NEWMAT::MatrixType::KP ( const MatrixType mt  )  const

Definition at line 61 of file newmat1.cpp.

MatrixType NEWMAT::MatrixType::operator| ( const MatrixType mt  )  const [inline]

Definition at line 149 of file newmat.h.

MatrixType NEWMAT::MatrixType::operator & ( const MatrixType mt  )  const [inline]

Definition at line 151 of file newmat.h.

bool NEWMAT::MatrixType::operator>= ( MatrixType  mt  )  const [inline]

Definition at line 153 of file newmat.h.

bool NEWMAT::MatrixType::operator< ( MatrixType  mt  )  const [inline]

Definition at line 155 of file newmat.h.

bool NEWMAT::MatrixType::operator== ( MatrixType  t  )  const [inline]

Definition at line 157 of file newmat.h.

bool NEWMAT::MatrixType::operator!= ( MatrixType  t  )  const [inline]

Definition at line 159 of file newmat.h.

bool NEWMAT::MatrixType::operator! (  )  const [inline]

Definition at line 161 of file newmat.h.

MatrixType NEWMAT::MatrixType::i (  )  const

Definition at line 76 of file newmat1.cpp.

Referenced by NEWMAT::GeneralSolv(), and NEWMAT::GeneralSolvI().

MatrixType NEWMAT::MatrixType::t (  )  const

Definition at line 84 of file newmat1.cpp.

MatrixType NEWMAT::MatrixType::AddEqualEl (  )  const [inline]

MatrixType NEWMAT::MatrixType::MultRHS (  )  const

Definition at line 94 of file newmat1.cpp.

MatrixType NEWMAT::MatrixType::sub (  )  const [inline]

Definition at line 167 of file newmat.h.

Referenced by NEWMAT::GetSubMatrix::Evaluate().

MatrixType NEWMAT::MatrixType::ssub (  )  const [inline]

Definition at line 169 of file newmat.h.

Referenced by NEWMAT::GetSubMatrix::Evaluate().

GeneralMatrix * NEWMAT::MatrixType::New ( int  nr,
int  nc,
BaseMatrix bm 
) const

Definition at line 139 of file newmat1.cpp.

const char * NEWMAT::MatrixType::Value (  )  const

bool NEWMAT::MatrixType::IsBand (  )  const [inline]

Definition at line 178 of file newmat.h.

bool NEWMAT::MatrixType::IsDiagonal (  )  const [inline]

Definition at line 179 of file newmat.h.

bool NEWMAT::MatrixType::IsSymmetric (  )  const [inline]

Definition at line 180 of file newmat.h.

Referenced by NEWMAT::GetSubMatrix::operator=().

bool NEWMAT::MatrixType::CannotConvert (  )  const [inline]

Definition at line 181 of file newmat.h.

Referenced by NEWMAT::operator==().


Friends And Related Function Documentation

bool Rectangular ( MatrixType  a,
MatrixType  b,
MatrixType  c 
) [friend]

bool Compare ( const MatrixType source,
MatrixType destination 
) [friend]


Member Data Documentation


The documentation for this class was generated from the following files:

newmat11b
Generated Thu Nov 22 00:51:06 2007 by Doxygen 1.5.4