Files | Classes | Macros | Functions
Newmat matrix manipulation library

Files

file  _newmat.dox
 
file  bandmat.cpp
 
file  cholesky.cpp
 
file  controlw.h
 
file  evalue.cpp
 
file  example.cpp
 
file  fft.cpp
 Fast Fourier (Carl de Boor) and trig transforms.
 
file  garch.cpp
 
file  hholder.cpp
 
file  jacobi.cpp
 
file  newfft.cpp
 
file  newmat.h
 
file  newmat1.cpp
 
file  newmat2.cpp
 
file  newmat3.cpp
 
file  newmat4.cpp
 
file  newmat5.cpp
 
file  newmat6.cpp
 
file  newmat7.cpp
 
file  newmat8.cpp
 
file  newmat9.cpp
 
file  newmatap.h
 
file  newmatio.h
 
file  newmatnl.cpp
 
file  newmatnl.h
 
file  newmatrc.h
 
file  newmatrm.cpp
 
file  newmatrm.h
 
file  nl_ex.cpp
 
file  nm_ex1.cpp
 
file  nm_ex2.cpp
 
file  nm_misc.cpp
 
file  precisio.h
 
file  sl_ex.cpp
 
file  solution.cpp
 
file  solution.h
 
file  sort.cpp
 
file  submat.cpp
 
file  svd.cpp
 
file  test_exc.cpp
 
file  tmt.cpp
 
file  tmt.h
 
file  tmt1.cpp
 
file  tmt2.cpp
 
file  tmt3.cpp
 
file  tmt4.cpp
 
file  tmt5.cpp
 
file  tmt6.cpp
 
file  tmt7.cpp
 
file  tmt8.cpp
 
file  tmt9.cpp
 
file  tmta.cpp
 
file  tmtb.cpp
 
file  tmtc.cpp
 
file  tmtd.cpp
 
file  tmte.cpp
 
file  tmtf.cpp
 
file  tmtg.cpp
 
file  tmth.cpp
 
file  tmti.cpp
 
file  tmtj.cpp
 
file  tmtk.cpp
 
file  tmtl.cpp
 
file  tmtm.cpp
 

Classes

class  AddedMatrix
 
class  ArrayLengthSpecifier
 
class  BandLUMatrix
 LU decomposition of a band matrix. More...
 
class  BandMatrix
 Band matrix. More...
 
class  BaseMatrix
 Base of the matrix classes. More...
 
class  CannotBuildException
 Cannot build matrix with these properties exception. More...
 
class  ColedMatrix
 
class  ColumnVector
 Column vector. More...
 
class  ConcatenatedMatrix
 
class  ConstRealStarStar
 Let matrix simulate a C type const two dimensional array. More...
 
class  ConvergenceException
 Covergence failure exception. More...
 
class  CroutMatrix
 
class  DiagedMatrix
 
class  DiagonalMatrix
 Diagonal matrix. More...
 
class  GeneralMatrix
 The classes for matrices that can contain data are derived from this. More...
 
class  GenericMatrix
 A matrix which can be of any GeneralMatrix type. More...
 
class  GetSubMatrix
 
class  IdentityMatrix
 Identity matrix. More...
 
class  IncompatibleDimensionsException
 Incompatible dimensions exception. More...
 
class  IndexException
 Index exception. More...
 
class  InternalException
 Internal newmat exception - shouldn't happen. More...
 
class  InvertedMatrix
 
class  KPMatrix
 
class  LinearEquationSolver
 
class  LogAndSign
 
class  LowerBandMatrix
 Lower triangular band matrix. More...
 
class  LowerTriangularMatrix
 Lower triangular matrix. More...
 
class  MatedMatrix
 
class  Matrix
 The usual rectangular matrix. More...
 
class  MatrixBandWidth
 
class  MatrixInput
 
class  MatrixType
 
class  MultipliedMatrix
 
class  NegatedMatrix
 
class  NegShiftedMatrix
 
class  NotDefinedException
 Not defined exception. More...
 
class  NotSquareException
 A matrix is not square exception. More...
 
class  NPDException
 Not positive definite exception. More...
 
class  nricMatrix
 Rectangular matrix for use with Numerical Recipes in C. More...
 
class  OverflowException
 Real overflow exception. More...
 
class  ProgramException
 Miscellaneous exception (details in character string). More...
 
class  RealStarStar
 Let matrix simulate a C type two dimensional array. More...
 
class  ReturnMatrix
 
class  ReversedMatrix
 
class  RowedMatrix
 
class  RowVector
 Row vector. More...
 
class  ScaledMatrix
 
class  ShiftedMatrix
 
class  SimpleIntArray
 
class  SingularException
 Singular matrix exception. More...
 
class  SolvedMatrix
 
class  SPMatrix
 
class  SquareMatrix
 Square matrix. More...
 
class  StackedMatrix
 
class  SubMatrixDimensionException
 Submatrix dimension exception. More...
 
class  SubtractedMatrix
 
class  SymmetricBandMatrix
 Symmetric band matrix. More...
 
class  SymmetricMatrix
 Symmetric matrix. More...
 
class  TransposedMatrix
 
class  UpperBandMatrix
 Upper triangular band matrix. More...
 
class  UpperTriangularMatrix
 Upper triangular matrix. More...
 
class  VectorException
 Cannot convert to vector exception. More...
 

Macros

#define MatrixTypeUnSp   0
 
#define NEWMAT_LIB   0
 

Functions

ColedMatrix BaseMatrix::AsColumn () const
 
DiagedMatrix BaseMatrix::AsDiagonal () const
 
MatedMatrix BaseMatrix::AsMatrix (int m, int n) const
 
RowedMatrix BaseMatrix::AsRow () const
 
Real BaseMatrix::AsScalar () const
 
GetSubMatrix BaseMatrix::Column (int f) const
 
GetSubMatrix BaseMatrix::Columns (int f, int l) const
 
bool Compare (const MatrixType &, MatrixType &)
 
Matrix crossproduct (const Matrix &A, const Matrix &B)
 
Matrix CrossProduct (const Matrix &A, const Matrix &B)
 
ReturnMatrix crossproduct_columns (const Matrix &A, const Matrix &B)
 
ReturnMatrix crossproduct_rows (const Matrix &A, const Matrix &B)
 
ReturnMatrix CrossProductColumns (const Matrix &A, const Matrix &B)
 
ReturnMatrix CrossProductRows (const Matrix &A, const Matrix &B)
 
Real determinant (const BaseMatrix &B)
 
Real Determinant (const BaseMatrix &B)
 
Real dotproduct (const Matrix &A, const Matrix &B)
 
Real DotProduct (const Matrix &A, const Matrix &B)
 
ReturnMatrix GeneralMatrix::ForReturn () const
 
bool is_zero (const BaseMatrix &A)
 
bool is_zero (const GeneralMatrix &A)
 
bool IsZero (const BaseMatrix &A)
 
bool IsZero (const GeneralMatrix &A)
 
KPMatrix KP (const BaseMatrix &, const BaseMatrix &)
 
LogAndSign log_determinant (const BaseMatrix &B)
 
LogAndSign LogDeterminant (const BaseMatrix &B)
 
void MatrixErrorNoSpace (const void *)
 test for allocation fails More...
 
Real maximum (const BaseMatrix &B)
 
Real Maximum (const BaseMatrix &B)
 
Real maximum_absolute_value (const BaseMatrix &B)
 
Real MaximumAbsoluteValue (const BaseMatrix &B)
 
Real minimum (const BaseMatrix &B)
 
Real Minimum (const BaseMatrix &B)
 
Real minimum_absolute_value (const BaseMatrix &B)
 
Real MinimumAbsoluteValue (const BaseMatrix &B)
 
void newmat_block_copy (int n, Real *from, Real *to)
 
Real norm1 (const BaseMatrix &B)
 
Real Norm1 (const BaseMatrix &B)
 
Real norm1 (RowVector &RV)
 
Real Norm1 (RowVector &RV)
 
Real norm_Frobenius (const BaseMatrix &B)
 
Real norm_frobenius (const BaseMatrix &B)
 
Real norm_infinity (const BaseMatrix &B)
 
Real norm_infinity (ColumnVector &CV)
 
Real NormFrobenius (const BaseMatrix &B)
 
Real NormInfinity (const BaseMatrix &B)
 
Real NormInfinity (ColumnVector &CV)
 
bool operator!= (const GeneralMatrix &A, const GeneralMatrix &B)
 
bool operator!= (const BaseMatrix &A, const BaseMatrix &B)
 
ScaledMatrix operator* (Real f, const BaseMatrix &BM)
 
ShiftedMatrix operator+ (Real f, const BaseMatrix &BM)
 
NegShiftedMatrix operator- (Real, const BaseMatrix &)
 
bool operator< (const BaseMatrix &A, const BaseMatrix &)
 
MatrixInput GeneralMatrix::operator<< (int f)
 
MatrixInput BandMatrix::operator<< (int f)
 
MatrixInput GetSubMatrix::operator<< (int f)
 
MatrixInput MatrixInput::operator<< (int f)
 
bool operator<= (const BaseMatrix &A, const BaseMatrix &)
 
bool operator== (const GeneralMatrix &A, const GeneralMatrix &B)
 
bool operator== (const BaseMatrix &A, const BaseMatrix &B)
 
bool operator> (const BaseMatrix &A, const BaseMatrix &)
 
bool operator>= (const BaseMatrix &A, const BaseMatrix &)
 
bool Rectangular (MatrixType a, MatrixType b, MatrixType c)
 
ReversedMatrix BaseMatrix::Reverse () const
 
GetSubMatrix BaseMatrix::Row (int f) const
 
GetSubMatrix BaseMatrix::Rows (int f, int l) const
 
SPMatrix SP (const BaseMatrix &, const BaseMatrix &)
 
GetSubMatrix BaseMatrix::SubMatrix (int fr, int lr, int fc, int lc) const
 
Real sum (const BaseMatrix &B)
 
Real Sum (const BaseMatrix &B)
 
Real sum_absolute_value (const BaseMatrix &B)
 
Real sum_square (const BaseMatrix &B)
 
Real SumAbsoluteValue (const BaseMatrix &B)
 
Real SumSquare (const BaseMatrix &B)
 
void swap (Matrix &A, Matrix &B)
 
void swap (SquareMatrix &A, SquareMatrix &B)
 
void swap (nricMatrix &A, nricMatrix &B)
 
void swap (UpperTriangularMatrix &A, UpperTriangularMatrix &B)
 
void swap (LowerTriangularMatrix &A, LowerTriangularMatrix &B)
 
void swap (SymmetricMatrix &A, SymmetricMatrix &B)
 
void swap (DiagonalMatrix &A, DiagonalMatrix &B)
 
void swap (RowVector &A, RowVector &B)
 
void swap (ColumnVector &A, ColumnVector &B)
 
void swap (CroutMatrix &A, CroutMatrix &B)
 
void swap (BandMatrix &A, BandMatrix &B)
 
void swap (UpperBandMatrix &A, UpperBandMatrix &B)
 
void swap (LowerBandMatrix &A, LowerBandMatrix &B)
 
void swap (SymmetricBandMatrix &A, SymmetricBandMatrix &B)
 
void swap (BandLUMatrix &A, BandLUMatrix &B)
 
void swap (IdentityMatrix &A, IdentityMatrix &B)
 
void swap (GenericMatrix &A, GenericMatrix &B)
 
GetSubMatrix BaseMatrix::SymSubMatrix (int f, int l) const
 
Real trace (const BaseMatrix &B)
 
Real Trace (const BaseMatrix &B)
 

Detailed Description

Macro Definition Documentation

#define MatrixTypeUnSp   0

Definition at line 287 of file newmat.h.

#define NEWMAT_LIB   0

Definition at line 10 of file newmat.h.

Function Documentation

ColedMatrix BaseMatrix::AsColumn ( ) const
inline

Definition at line 2142 of file newmat.h.

DiagedMatrix BaseMatrix::AsDiagonal ( ) const
inline

Definition at line 2143 of file newmat.h.

MatedMatrix BaseMatrix::AsMatrix ( int  m,
int  n 
) const
inline

Definition at line 2144 of file newmat.h.

RowedMatrix BaseMatrix::AsRow ( ) const
inline

Definition at line 2141 of file newmat.h.

Real BaseMatrix::AsScalar ( ) const
inline

Definition at line 2155 of file newmat.h.

GetSubMatrix BaseMatrix::Column ( int  f) const
inline

Definition at line 2152 of file newmat.h.

GetSubMatrix BaseMatrix::Columns ( int  f,
int  l 
) const
inline

Definition at line 2153 of file newmat.h.

bool Compare ( const MatrixType ,
MatrixType  
)

Definition at line 980 of file newmat4.cpp.

Matrix crossproduct ( const Matrix A,
const Matrix B 
)

Definition at line 953 of file newmat7.cpp.

Matrix CrossProduct ( const Matrix A,
const Matrix B 
)
inline

Definition at line 2062 of file newmat.h.

ReturnMatrix crossproduct_columns ( const Matrix A,
const Matrix B 
)

Definition at line 1000 of file newmat7.cpp.

ReturnMatrix crossproduct_rows ( const Matrix A,
const Matrix B 
)

Definition at line 977 of file newmat7.cpp.

ReturnMatrix CrossProductColumns ( const Matrix A,
const Matrix B 
)
inline

Definition at line 2066 of file newmat.h.

ReturnMatrix CrossProductRows ( const Matrix A,
const Matrix B 
)
inline

Definition at line 2064 of file newmat.h.

Real determinant ( const BaseMatrix B)
inline

Definition at line 2090 of file newmat.h.

Real Determinant ( const BaseMatrix B)
inline

Definition at line 2092 of file newmat.h.

Real dotproduct ( const Matrix A,
const Matrix B 
)

Definition at line 530 of file newmat8.cpp.

Real DotProduct ( const Matrix A,
const Matrix B 
)
inline

Definition at line 2060 of file newmat.h.

ReturnMatrix GeneralMatrix::ForReturn ( ) const
inline

Definition at line 2157 of file newmat.h.

bool is_zero ( const BaseMatrix A)

Definition at line 878 of file newmat7.cpp.

bool is_zero ( const GeneralMatrix A)
inline

Definition at line 2132 of file newmat.h.

bool IsZero ( const BaseMatrix A)
inline

Definition at line 2053 of file newmat.h.

bool IsZero ( const GeneralMatrix A)
inline

Definition at line 2131 of file newmat.h.

KPMatrix KP ( const BaseMatrix ,
const BaseMatrix  
)

Definition at line 281 of file newmat6.cpp.

LogAndSign log_determinant ( const BaseMatrix B)
inline

Definition at line 2086 of file newmat.h.

LogAndSign LogDeterminant ( const BaseMatrix B)
inline

Definition at line 2088 of file newmat.h.

void MatrixErrorNoSpace ( const void *  )

test for allocation fails

Definition at line 301 of file newmatex.cpp.

Real maximum ( const BaseMatrix B)
inline

Definition at line 2117 of file newmat.h.

Real Maximum ( const BaseMatrix B)
inline

Definition at line 2118 of file newmat.h.

Real maximum_absolute_value ( const BaseMatrix B)
inline

Definition at line 2109 of file newmat.h.

Real MaximumAbsoluteValue ( const BaseMatrix B)
inline

Definition at line 2111 of file newmat.h.

Real minimum ( const BaseMatrix B)
inline

Definition at line 2119 of file newmat.h.

Real Minimum ( const BaseMatrix B)
inline

Definition at line 2120 of file newmat.h.

Real minimum_absolute_value ( const BaseMatrix B)
inline

Definition at line 2113 of file newmat.h.

Real MinimumAbsoluteValue ( const BaseMatrix B)
inline

Definition at line 2115 of file newmat.h.

void newmat_block_copy ( int  n,
Real from,
Real to 
)

Definition at line 807 of file newmat4.cpp.

Real norm1 ( const BaseMatrix B)
inline

Definition at line 2121 of file newmat.h.

Real Norm1 ( const BaseMatrix B)
inline

Definition at line 2122 of file newmat.h.

Real norm1 ( RowVector RV)
inline

Definition at line 2123 of file newmat.h.

Real Norm1 ( RowVector RV)
inline

Definition at line 2124 of file newmat.h.

Real norm_Frobenius ( const BaseMatrix B)
inline

Definition at line 2096 of file newmat.h.

Real norm_frobenius ( const BaseMatrix B)
inline

Definition at line 2097 of file newmat.h.

Real norm_infinity ( const BaseMatrix B)
inline

Definition at line 2125 of file newmat.h.

Real norm_infinity ( ColumnVector CV)
inline

Definition at line 2127 of file newmat.h.

Real NormFrobenius ( const BaseMatrix B)
inline

Definition at line 2098 of file newmat.h.

Real NormInfinity ( const BaseMatrix B)
inline

Definition at line 2126 of file newmat.h.

Real NormInfinity ( ColumnVector CV)
inline

Definition at line 2129 of file newmat.h.

bool operator!= ( const GeneralMatrix A,
const GeneralMatrix B 
)
inline

Definition at line 2036 of file newmat.h.

bool operator!= ( const BaseMatrix A,
const BaseMatrix B 
)
inline

Definition at line 2038 of file newmat.h.

ScaledMatrix operator* ( Real  f,
const BaseMatrix BM 
)

Definition at line 314 of file newmat6.cpp.

ShiftedMatrix operator+ ( Real  f,
const BaseMatrix BM 
)

Definition at line 302 of file newmat6.cpp.

NegShiftedMatrix operator- ( Real  ,
const BaseMatrix  
)

Definition at line 305 of file newmat6.cpp.

bool operator< ( const BaseMatrix A,
const BaseMatrix  
)
inline

Definition at line 2047 of file newmat.h.

MatrixInput GeneralMatrix::operator<< ( int  f)
inline

Definition at line 2136 of file newmat.h.

MatrixInput BandMatrix::operator<< ( int  f)
inline

Definition at line 2137 of file newmat.h.

MatrixInput GetSubMatrix::operator<< ( int  f)
inline

Definition at line 2138 of file newmat.h.

MatrixInput MatrixInput::operator<< ( int  f)
inline

Definition at line 2135 of file newmat.h.

bool operator<= ( const BaseMatrix A,
const BaseMatrix  
)
inline

Definition at line 2043 of file newmat.h.

bool operator== ( const GeneralMatrix A,
const GeneralMatrix B 
)

Definition at line 839 of file newmat7.cpp.

bool operator== ( const BaseMatrix A,
const BaseMatrix B 
)

Definition at line 801 of file newmat7.cpp.

bool operator> ( const BaseMatrix A,
const BaseMatrix  
)
inline

Definition at line 2049 of file newmat.h.

bool operator>= ( const BaseMatrix A,
const BaseMatrix  
)
inline

Definition at line 2045 of file newmat.h.

bool Rectangular ( MatrixType  a,
MatrixType  b,
MatrixType  c 
)

Definition at line 108 of file newmat1.cpp.

ReversedMatrix BaseMatrix::Reverse ( ) const
inline

Definition at line 2140 of file newmat.h.

GetSubMatrix BaseMatrix::Row ( int  f) const
inline

Definition at line 2150 of file newmat.h.

GetSubMatrix BaseMatrix::Rows ( int  f,
int  l 
) const
inline

Definition at line 2151 of file newmat.h.

SPMatrix SP ( const BaseMatrix ,
const BaseMatrix  
)

Definition at line 278 of file newmat6.cpp.

GetSubMatrix BaseMatrix::SubMatrix ( int  fr,
int  lr,
int  fc,
int  lc 
) const
inline

Definition at line 2146 of file newmat.h.

Real sum ( const BaseMatrix B)
inline

Definition at line 2105 of file newmat.h.

Real Sum ( const BaseMatrix B)
inline

Definition at line 2107 of file newmat.h.

Real sum_absolute_value ( const BaseMatrix B)
inline

Definition at line 2101 of file newmat.h.

Real sum_square ( const BaseMatrix B)
inline

Definition at line 2094 of file newmat.h.

Real SumAbsoluteValue ( const BaseMatrix B)
inline

Definition at line 2103 of file newmat.h.

Real SumSquare ( const BaseMatrix B)
inline

Definition at line 2095 of file newmat.h.

void swap ( Matrix A,
Matrix B 
)
inline

Definition at line 2159 of file newmat.h.

void swap ( SquareMatrix A,
SquareMatrix B 
)
inline

Definition at line 2160 of file newmat.h.

void swap ( nricMatrix A,
nricMatrix B 
)
inline

Definition at line 2161 of file newmat.h.

void swap ( UpperTriangularMatrix A,
UpperTriangularMatrix B 
)
inline

Definition at line 2162 of file newmat.h.

void swap ( LowerTriangularMatrix A,
LowerTriangularMatrix B 
)
inline

Definition at line 2164 of file newmat.h.

void swap ( SymmetricMatrix A,
SymmetricMatrix B 
)
inline

Definition at line 2166 of file newmat.h.

void swap ( DiagonalMatrix A,
DiagonalMatrix B 
)
inline

Definition at line 2167 of file newmat.h.

void swap ( RowVector A,
RowVector B 
)
inline

Definition at line 2168 of file newmat.h.

void swap ( ColumnVector A,
ColumnVector B 
)
inline

Definition at line 2169 of file newmat.h.

void swap ( CroutMatrix A,
CroutMatrix B 
)
inline

Definition at line 2170 of file newmat.h.

void swap ( BandMatrix A,
BandMatrix B 
)
inline

Definition at line 2171 of file newmat.h.

void swap ( UpperBandMatrix A,
UpperBandMatrix B 
)
inline

Definition at line 2172 of file newmat.h.

void swap ( LowerBandMatrix A,
LowerBandMatrix B 
)
inline

Definition at line 2173 of file newmat.h.

void swap ( SymmetricBandMatrix A,
SymmetricBandMatrix B 
)
inline

Definition at line 2174 of file newmat.h.

void swap ( BandLUMatrix A,
BandLUMatrix B 
)
inline

Definition at line 2175 of file newmat.h.

void swap ( IdentityMatrix A,
IdentityMatrix B 
)
inline

Definition at line 2176 of file newmat.h.

void swap ( GenericMatrix A,
GenericMatrix B 
)
inline

Definition at line 2177 of file newmat.h.

GetSubMatrix BaseMatrix::SymSubMatrix ( int  f,
int  l 
) const
inline

Definition at line 2148 of file newmat.h.

Real trace ( const BaseMatrix B)
inline

Definition at line 2099 of file newmat.h.

Real Trace ( const BaseMatrix B)
inline

Definition at line 2100 of file newmat.h.



kni
Author(s): Martin Günther
autogenerated on Fri Jun 7 2019 22:06:45