Homepage Demos Overview Downloads Tutorials Reference
Credits

NEWMAT::MatrixType Class Reference

#include <newmat.h>

List of all members.

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

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

anonymous enum
 

Enumeration values:
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.

enum NEWMAT::MatrixType::Attribute
 

Enumeration values:
Valid 
Diagonal 
Symmetric 
Band 
Lower 
Upper 
Square 
Skew 
LUDeco 
Ones 

Definition at line 94 of file newmat.h.


Constructor & Destructor Documentation

NEWMAT::MatrixType::MatrixType  )  [inline]
 

Definition at line 135 of file newmat.h.

Referenced by i(), operator *(), 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

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

Definition at line 164 of file newmat.h.

Referenced by NEWMAT::NegShiftedMatrix::Evaluate(), and NEWMAT::ShiftedMatrix::Evaluate().

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

Definition at line 181 of file newmat.h.

Referenced by NEWMAT::operator==().

MatrixType NEWMAT::MatrixType::i  )  const
 

Definition at line 76 of file newmat1.cpp.

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

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=().

MatrixType NEWMAT::MatrixType::KP const MatrixType  )  const
 

Definition at line 61 of file newmat1.cpp.

MatrixType NEWMAT::MatrixType::MultRHS  )  const
 

Definition at line 94 of file newmat1.cpp.

GeneralMatrix * NEWMAT::MatrixType::New int  ,
int  ,
BaseMatrix
const
 

Definition at line 139 of file newmat1.cpp.

GeneralMatrix* NEWMAT::MatrixType::New  )  const
 

Referenced by NEWMAT::StackedMatrix::Evaluate(), NEWMAT::ConcatenatedMatrix::Evaluate(), NEWMAT::SPMatrix::Evaluate(), NEWMAT::SubtractedMatrix::Evaluate(), NEWMAT::AddedMatrix::Evaluate(), NEWMAT::GetSubMatrix::Evaluate(), NEWMAT::ReversedMatrix::Evaluate(), NEWMAT::NegatedMatrix::Evaluate(), NEWMAT::ScaledMatrix::Evaluate(), NEWMAT::NegShiftedMatrix::Evaluate(), NEWMAT::ShiftedMatrix::Evaluate(), NEWMAT::GeneralMatrix::Evaluate(), NEWMAT::GeneralKP(), NEWMAT::GeneralMult1(), NEWMAT::GeneralMult2(), NEWMAT::GeneralSolv(), NEWMAT::GeneralSolvI(), and NEWMAT::GeneralMatrix::Transpose().

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

Definition at line 128 of file newmat.h.

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

Definition at line 151 of file newmat.h.

MatrixType NEWMAT::MatrixType::operator * const MatrixType  )  const
 

Definition at line 31 of file newmat1.cpp.

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

Definition at line 161 of file newmat.h.

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

Definition at line 159 of file newmat.h.

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

Definition at line 144 of file newmat.h.

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

Definition at line 143 of file newmat.h.

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

Definition at line 155 of file newmat.h.

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

Definition at line 140 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  mt  )  const [inline]
 

Definition at line 153 of file newmat.h.

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

Definition at line 149 of file newmat.h.

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

Definition at line 142 of file newmat.h.

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

MatrixType NEWMAT::MatrixType::SP const MatrixType  )  const
 

Definition at line 39 of file newmat1.cpp.

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

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

Definition at line 169 of file newmat.h.

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

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

Definition at line 167 of file newmat.h.

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

MatrixType NEWMAT::MatrixType::t  )  const
 

Definition at line 84 of file newmat1.cpp.

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

Definition at line 110 of file newmat1.cpp.

Referenced by NEWMAT::MatrixDetails(), and NEWMAT::ProgramException::ProgramException().


Friends And Related Function Documentation

bool Compare const MatrixType source,
MatrixType destination
[friend]
 

Definition at line 742 of file newmat4.cpp.

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

Definition at line 102 of file newmat1.cpp.


Member Data Documentation

int NEWMAT::MatrixType::attribute
 

Definition at line 131 of file newmat.h.

Referenced by i(), MultRHS(), operator &(), operator *(), operator!=(), operator+(), operator=(), operator==(), operator>=(), operator|(), NEWMAT::Rectangular(), and Value().

bool NEWMAT::MatrixType::DataLossOK
 

Definition at line 132 of file newmat.h.

Referenced by NEWMAT::Compare(), NEWMAT::SPMatrix::Evaluate(), NEWMAT::SubtractedMatrix::Evaluate(), NEWMAT::AddedMatrix::Evaluate(), and operator=().


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

newmat11b
Generated Tue Oct 19 14:18:17 2004 by Doxygen 1.3.9.1