Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

NEWMAT::MatrixType Class Reference

#include <newmat.h>


Detailed Description

Definition at line 91 of file 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 n)
 MatrixType (int n, bool dlok)
 MatrixType (const MatrixType &mt)
MatrixTypeoperator= (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 mt) const
bool operator!= (MatrixType mt) 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

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.

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

Definition at line 94 of file newmat.h.


Constructor & Destructor Documentation

NEWMAT::MatrixType::MatrixType (  ) 

Definition at line 135 of file newmat.h.

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

NEWMAT::MatrixType::MatrixType ( int  n  ) 

Definition at line 136 of file newmat.h.

NEWMAT::MatrixType::MatrixType ( int  n,
bool  dlok 
)

Definition at line 137 of file newmat.h.

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

Definition at line 138 of file newmat.h.


Member Function Documentation

MatrixType NEWMAT::MatrixType::AddEqualEl (  )  const
bool NEWMAT::MatrixType::CannotConvert (  )  const

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

Definition at line 178 of file newmat.h.

bool NEWMAT::MatrixType::IsDiagonal (  )  const

Definition at line 179 of file newmat.h.

bool NEWMAT::MatrixType::IsSymmetric (  )  const

Definition at line 180 of file newmat.h.

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

MatrixType NEWMAT::MatrixType::KP ( const MatrixType mt  )  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  nr,
int  nc,
BaseMatrix bm 
) const

Definition at line 139 of file newmat1.cpp.

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

Definition at line 128 of file newmat.h.

bool NEWMAT::MatrixType::operator! (  )  const

Definition at line 161 of file newmat.h.

bool NEWMAT::MatrixType::operator!= ( MatrixType  mt  )  const

Definition at line 159 of file newmat.h.

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

Definition at line 151 of file newmat.h.

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

Definition at line 31 of file newmat1.cpp.

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

Definition at line 144 of file newmat.h.

int NEWMAT::MatrixType::operator+ (  )  const

Definition at line 143 of file newmat.h.

bool NEWMAT::MatrixType::operator< ( MatrixType  mt  )  const

Definition at line 155 of file newmat.h.

MatrixType& NEWMAT::MatrixType::operator= ( const MatrixType mt  ) 

Definition at line 140 of file newmat.h.

bool NEWMAT::MatrixType::operator== ( MatrixType  mt  )  const

Definition at line 157 of file newmat.h.

bool NEWMAT::MatrixType::operator>= ( MatrixType  mt  )  const

Definition at line 153 of file newmat.h.

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

Definition at line 149 of file newmat.h.

void NEWMAT::MatrixType::SetDataLossOK (  ) 

Definition at line 142 of file newmat.h.

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

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

Definition at line 39 of file newmat1.cpp.

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

MatrixType NEWMAT::MatrixType::ssub (  )  const

Definition at line 169 of file newmat.h.

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

MatrixType NEWMAT::MatrixType::sub (  )  const

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

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


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

newmat11b
Generated Mon May 9 04:54:19 2016 by Doxygen 1.6.3