Virtual U.org
Get Personal Training on VU Today
    
Top shadow
 
 register/help
User Name:

Password:

NEWMAT::MatrixType class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

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, LUDeco = 64
}
enum  {
  US = 0, UT = Valid + Upper, LT = Valid + Lower, Rt = Valid,
  Sm = Valid + Symmetric, Dg = Valid + Diagonal + Band + Lower + Upper + Symmetric, RV = Valid, CV = Valid,
  BM = Valid + Band, UB = Valid + Band + Upper, LB = Valid + Band + Lower, SB = Valid + Band + Symmetric,
  Ct = Valid + LUDeco, BC = Valid + Band + LUDeco
}

Public Methods

 MatrixType ()
 MatrixType (int i)
int operator+ () const
MatrixType operator+ (MatrixType mt) const
MatrixType operator * (const MatrixType &) const
MatrixType SP (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
char * Value () const
bool IsBand () const
bool IsDiagonal () const
bool CannotConvert () const

Static Public Methods

 nTypes ()

Public Attributes

int attribute

Friends

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


Detailed Description

Is used for finding the type of a matrix resulting from the binary operations +, -, * and identifying what conversions are permissible. Defined in newmat library.

Definition at line 129 of file Newmat.h.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
US 
UT 
LT 
Rt 
Sm 
Dg 
RV 
CV 
BM 
UB 
LB 
SB 
Ct 
BC 

Definition at line 141 of file Newmat.h.

enum NEWMAT::MatrixType::Attribute
 

Enumeration values:
Valid 
Diagonal 
Symmetric 
Band 
Lower 
Upper 
LUDeco 

Definition at line 131 of file Newmat.h.


Constructor & Destructor Documentation

NEWMAT::MatrixType::MatrixType   [inline]
 

Definition at line 165 of file Newmat.h.

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

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

Definition at line 166 of file Newmat.h.

References attribute, and i().


Member Function Documentation

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

Definition at line 187 of file Newmat.h.

References attribute, MatrixType(), Symmetric, and Valid.

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

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

Definition at line 205 of file Newmat.h.

References attribute, and LUDeco.

Referenced by NEWMAT::operator==().

MatrixType NEWMAT::MatrixType::i   const
 

Referenced by NEWMAT::InvertedMatrix::Evaluate(), and MatrixType().

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

Definition at line 203 of file Newmat.h.

References attribute, and Band.

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

Definition at line 204 of file Newmat.h.

References attribute, and Diagonal.

MatrixType NEWMAT::MatrixType::MultRHS   const
 

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

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

GeneralMatrix* NEWMAT::MatrixType::New   const
 

Referenced by NEWMAT::StackedMatrix::Evaluate(), NEWMAT::ConcatenatedMatrix::Evaluate(), NEWMAT::GetSubMatrix::Evaluate(), NEWMAT::ReversedMatrix::Evaluate(), NEWMAT::NegatedMatrix::Evaluate(), NEWMAT::ScaledMatrix::Evaluate(), NEWMAT::NegShiftedMatrix::Evaluate(), NEWMAT::ShiftedMatrix::Evaluate(), NEWMAT::GeneralMatrix::Evaluate(), and NEWMAT::GeneralMatrix::Transpose().

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

Definition at line 158 of file Newmat.h.

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

Definition at line 174 of file Newmat.h.

References attribute, MatrixType(), and Valid.

MatrixType NEWMAT::MatrixType::operator * const MatrixType &    const
 

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

Definition at line 184 of file Newmat.h.

References attribute, and Valid.

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

Definition at line 182 of file Newmat.h.

References attribute, and t().

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

Definition at line 168 of file Newmat.h.

References attribute, and MatrixType().

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

Definition at line 167 of file Newmat.h.

References attribute.

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

Definition at line 178 of file Newmat.h.

References attribute.

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

Definition at line 180 of file Newmat.h.

References attribute, and t().

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

Definition at line 176 of file Newmat.h.

References attribute.

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

Definition at line 172 of file Newmat.h.

References attribute, MatrixType(), and Valid.

MatrixType NEWMAT::MatrixType::SP const MatrixType &    const
 

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

Definition at line 192 of file Newmat.h.

References attribute, and MatrixType().

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

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

Definition at line 190 of file Newmat.h.

References attribute, MatrixType(), and Valid.

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

MatrixType NEWMAT::MatrixType::t   const
 

Referenced by NEWMAT::TransposedMatrix::Evaluate(), operator!=(), and operator==().

char* NEWMAT::MatrixType::Value   const
 

Referenced by NEWMAT::ProgramException::ProgramException().


Friends And Related Function Documentation

bool Compare const MatrixType &    source,
MatrixType &    destination
[friend]
 

Definition at line 467 of file NEWMAT4.CPP.

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

Definition at line 57 of file NEWMAT1.CPP.


Member Data Documentation

int NEWMAT::MatrixType::attribute
 

Definition at line 163 of file Newmat.h.

Referenced by AddEqualEl(), CannotConvert(), IsBand(), IsDiagonal(), MatrixType(), operator &(), operator!(), operator!=(), operator+(), operator<(), operator==(), operator>=(), operator|(), ssub(), and sub().


The documentation for this class was generated from the following file:
Generated on Fri Aug 23 01:39:54 2002 for VirtualU by doxygen1.2.17