Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

NEWMAT Namespace Reference

Classes

class  LogAndSign
class  MatrixType
class  MatrixBandWidth
class  ArrayLengthSpecifier
class  BaseMatrix
class  GeneralMatrix
class  Matrix
class  SquareMatrix
class  nricMatrix
class  SymmetricMatrix
class  UpperTriangularMatrix
class  LowerTriangularMatrix
class  DiagonalMatrix
class  RowVector
class  ColumnVector
class  CroutMatrix
class  BandMatrix
class  UpperBandMatrix
class  LowerBandMatrix
class  SymmetricBandMatrix
class  BandLUMatrix
class  IdentityMatrix
class  GenericMatrix
class  MultipliedMatrix
class  AddedMatrix
class  SPMatrix
class  KPMatrix
class  ConcatenatedMatrix
class  StackedMatrix
class  SolvedMatrix
class  SubtractedMatrix
class  ShiftedMatrix
class  NegShiftedMatrix
class  ScaledMatrix
class  NegatedMatrix
class  TransposedMatrix
class  ReversedMatrix
class  InvertedMatrix
class  RowedMatrix
class  ColedMatrix
class  DiagedMatrix
class  MatedMatrix
class  ReturnMatrix
class  GetSubMatrix
class  LinearEquationSolver
class  MatrixInput
class  SimpleIntArray
class  RealStarStar
class  ConstRealStarStar
class  NPDException
class  ConvergenceException
class  SingularException
class  OverflowException
class  ProgramException
class  IndexException
class  VectorException
class  NotSquareException
class  SubMatrixDimensionException
class  IncompatibleDimensionsException
class  NotDefinedException
class  CannotBuildException
class  InternalException
class  SymmetricEigenAnalysis
class  FFT_Controller
class  MultiRadixCounter
class  printmat
class  FindMaximum2
class  R1_Col_I_D
class  NonLinearLeastSquares
class  LL_D_FI
class  MLE_D_FI
class  ControlWord
class  LoadAndStoreFlag
class  MatrixRowCol
class  MatrixRow
class  MatrixCol
class  MatrixColX
class  RectMatrixRowCol
class  RectMatrixRow
class  RectMatrixCol
class  RectMatrixDiag

Enumerations

enum  LSF {
  LoadOnEntry = 1, StoreOnExit = 2, DirectPart = 4, StoreHere = 8,
  HaveStore = 16
}

Functions

static int my_min (int x, int y)
static int my_max (int x, int y)
Real square (Real x)
ReturnMatrix Cholesky (const SymmetricMatrix &S)
ReturnMatrix Cholesky (const SymmetricBandMatrix &S)
void UpdateCholesky (UpperTriangularMatrix &chol, RowVector r1Modification)
void DowndateCholesky (UpperTriangularMatrix &chol, RowVector x)
void RightCircularUpdateCholesky (UpperTriangularMatrix &chol, int k, int l)
void LeftCircularUpdateCholesky (UpperTriangularMatrix &chol, int k, int l)
static void tred2 (const SymmetricMatrix &A, DiagonalMatrix &D, DiagonalMatrix &E, Matrix &Z)
static void tql2 (DiagonalMatrix &D, DiagonalMatrix &E, Matrix &Z)
static void tred3 (const SymmetricMatrix &X, DiagonalMatrix &D, DiagonalMatrix &E, SymmetricMatrix &A)
static void tql1 (DiagonalMatrix &D, DiagonalMatrix &E)
void EigenValues (const SymmetricMatrix &A, DiagonalMatrix &D, Matrix &Z)
void EigenValues (const SymmetricMatrix &X, DiagonalMatrix &D)
void EigenValues (const SymmetricMatrix &X, DiagonalMatrix &D, SymmetricMatrix &A)
static void cossin (int n, int d, Real &c, Real &s)
static void fftstep (ColumnVector &A, ColumnVector &B, ColumnVector &X, ColumnVector &Y, int after, int now, int before)
void FFTI (const ColumnVector &U, const ColumnVector &V, ColumnVector &X, ColumnVector &Y)
void RealFFT (const ColumnVector &U, ColumnVector &X, ColumnVector &Y)
void RealFFTI (const ColumnVector &A, const ColumnVector &B, ColumnVector &U)
void FFT (const ColumnVector &U, const ColumnVector &V, ColumnVector &X, ColumnVector &Y)
void DCT_II (const ColumnVector &U, ColumnVector &V)
void DCT_II_inverse (const ColumnVector &V, ColumnVector &U)
void DST_II (const ColumnVector &U, ColumnVector &V)
void DST_II_inverse (const ColumnVector &V, ColumnVector &U)
void DCT_inverse (const ColumnVector &V, ColumnVector &U)
void DCT (const ColumnVector &U, ColumnVector &V)
void DST_inverse (const ColumnVector &V, ColumnVector &U)
void DST (const ColumnVector &U, ColumnVector &V)
void FFT2 (const Matrix &U, const Matrix &V, Matrix &X, Matrix &Y)
void FFT2I (const Matrix &U, const Matrix &V, Matrix &X, Matrix &Y)
void QRZT (Matrix &X, LowerTriangularMatrix &L)
void QRZT (const Matrix &X, Matrix &Y, Matrix &M)
void QRZ (Matrix &X, UpperTriangularMatrix &U)
void QRZ (const Matrix &X, Matrix &Y, Matrix &M)
void UpdateQRZT (Matrix &X, LowerTriangularMatrix &L)
void UpdateQRZ (Matrix &X, UpperTriangularMatrix &U)
void Jacobi (const SymmetricMatrix &X, DiagonalMatrix &D, SymmetricMatrix &A, Matrix &V, bool eivec)
void Jacobi (const SymmetricMatrix &X, DiagonalMatrix &D)
void Jacobi (const SymmetricMatrix &X, DiagonalMatrix &D, SymmetricMatrix &A)
void Jacobi (const SymmetricMatrix &X, DiagonalMatrix &D, Matrix &V)
int square (int x)
static void GR_1D_FS (int PTS, int N_SYM, int N_UN_SYM, const SimpleIntArray &SYM, int P_SYM, const SimpleIntArray &UN_SYM, Real *X, Real *Y)
static void GR_1D_FT (int N, int N_FACTOR, const SimpleIntArray &FACTOR, Real *X, Real *Y)
static void R_P_FTK (int N, int M, int P, Real *X, Real *Y)
static void R_2_FTK (int N, int M, Real *X0, Real *Y0, Real *X1, Real *Y1)
static void R_3_FTK (int N, int M, Real *X0, Real *Y0, Real *X1, Real *Y1, Real *X2, Real *Y2)
static void R_4_FTK (int N, int M, Real *X0, Real *Y0, Real *X1, Real *Y1, Real *X2, Real *Y2, Real *X3, Real *Y3)
static void R_5_FTK (int N, int M, Real *X0, Real *Y0, Real *X1, Real *Y1, Real *X2, Real *Y2, Real *X3, Real *Y3, Real *X4, Real *Y4)
static void R_8_FTK (int N, int M, Real *X0, Real *Y0, Real *X1, Real *Y1, Real *X2, Real *Y2, Real *X3, Real *Y3, Real *X4, Real *Y4, Real *X5, Real *Y5, Real *X6, Real *Y6, Real *X7, Real *Y7)
static void R_16_FTK (int N, int M, Real *X0, Real *Y0, Real *X1, Real *Y1, Real *X2, Real *Y2, Real *X3, Real *Y3, Real *X4, Real *Y4, Real *X5, Real *Y5, Real *X6, Real *Y6, Real *X7, Real *Y7, Real *X8, Real *Y8, Real *X9, Real *Y9, Real *X10, Real *Y10, Real *X11, Real *Y11, Real *X12, Real *Y12, Real *X13, Real *Y13, Real *X14, Real *Y14, Real *X15, Real *Y15)
static int BitReverse (int x, int prod, int n, const SimpleIntArray &f)
void MatrixErrorNoSpace (const void *)
bool operator== (const GeneralMatrix &A, const GeneralMatrix &B)
bool operator== (const BaseMatrix &A, const BaseMatrix &B)
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 operator< (const BaseMatrix &A, const BaseMatrix &)
bool operator> (const BaseMatrix &A, const BaseMatrix &)
bool Rectangular (MatrixType a, MatrixType b, MatrixType c)
bool Compare (const MatrixType &, MatrixType &)
Real DotProduct (const Matrix &A, const Matrix &B)
SPMatrix SP (const BaseMatrix &, const BaseMatrix &)
KPMatrix KP (const BaseMatrix &, const BaseMatrix &)
ShiftedMatrix operator+ (Real f, const BaseMatrix &BM)
NegShiftedMatrix operator- (Real, const BaseMatrix &)
ScaledMatrix operator* (Real f, const BaseMatrix &BM)
bool IsZero (const BaseMatrix &A)
ReturnMatrix MultiplyQuaternions (const ColumnVector &quatA, const ColumnVector &quatB)
 mutliply two quaternions together, producing a new quaternion (elements in order w,x,y,z)
ReturnMatrix ApplyQuaternion (const ColumnVector &q, const Matrix &m)
 rotate columns of a matrix m by quaternion q (elements in order w,x,y,z)
Matrix CrossProduct (const Matrix &A, const Matrix &B)
ReturnMatrix CrossProductRows (const Matrix &A, const Matrix &B)
ReturnMatrix CrossProductColumns (const Matrix &A, const Matrix &B)
LogAndSign LogDeterminant (const BaseMatrix &B)
Real Determinant (const BaseMatrix &B)
Real SumSquare (const BaseMatrix &B)
Real NormFrobenius (const BaseMatrix &B)
Real Trace (const BaseMatrix &B)
Real SumAbsoluteValue (const BaseMatrix &B)
Real Sum (const BaseMatrix &B)
Real MaximumAbsoluteValue (const BaseMatrix &B)
Real MinimumAbsoluteValue (const BaseMatrix &B)
Real Maximum (const BaseMatrix &B)
Real Minimum (const BaseMatrix &B)
Real Norm1 (const BaseMatrix &B)
Real Norm1 (RowVector &RV)
Real NormInfinity (const BaseMatrix &B)
Real NormInfinity (ColumnVector &CV)
bool IsZero (const GeneralMatrix &A)
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)
Real DotProd (const MatrixRowCol &mrc1, const MatrixRowCol &mrc2)
static int tristore (int n)
static void BlockCopy (int n, Real *from, Real *to)
static GeneralMatrixGeneralMult (GeneralMatrix *, GeneralMatrix *, MultipliedMatrix *, MatrixType)
static GeneralMatrixGeneralSolv (GeneralMatrix *, GeneralMatrix *, BaseMatrix *, MatrixType)
static GeneralMatrixGeneralSolvI (GeneralMatrix *, BaseMatrix *, MatrixType)
static GeneralMatrixGeneralKP (GeneralMatrix *, GeneralMatrix *, KPMatrix *, MatrixType)
static void Add (GeneralMatrix *gm, GeneralMatrix *gm1, GeneralMatrix *gm2)
static void AddTo (GeneralMatrix *gm, const GeneralMatrix *gm2)
static void Subtract (GeneralMatrix *gm, GeneralMatrix *gm1, GeneralMatrix *gm2)
static void SubtractFrom (GeneralMatrix *gm, const GeneralMatrix *gm2)
static void ReverseSubtract (GeneralMatrix *gm, const GeneralMatrix *gm2)
static void SP (GeneralMatrix *gm, GeneralMatrix *gm1, GeneralMatrix *gm2)
static void SP (GeneralMatrix *gm, GeneralMatrix *gm2)
static void AddDS (GeneralMatrix *gm, GeneralMatrix *gm1, GeneralMatrix *gm2)
static void AddDS (GeneralMatrix *gm, GeneralMatrix *gm2)
static void SubtractDS (GeneralMatrix *gm, GeneralMatrix *gm1, GeneralMatrix *gm2)
static void SubtractDS (GeneralMatrix *gm, GeneralMatrix *gm2)
static void ReverseSubtractDS (GeneralMatrix *gm, GeneralMatrix *gm2)
static void SPDS (GeneralMatrix *gm, GeneralMatrix *gm1, GeneralMatrix *gm2)
static void SPDS (GeneralMatrix *gm, GeneralMatrix *gm2)
static GeneralMatrixGeneralMult1 (GeneralMatrix *gm1, GeneralMatrix *gm2, MultipliedMatrix *mm, MatrixType mtx)
static GeneralMatrixGeneralMult2 (GeneralMatrix *gm1, GeneralMatrix *gm2, MultipliedMatrix *mm, MatrixType mtx)
static GeneralMatrixmmMult (GeneralMatrix *gm1, GeneralMatrix *gm2)
static bool RealEqual (Real *s1, Real *s2, int n)
static bool intEqual (int *s1, int *s2, int n)
void CrossProductBody (Real *a, Real *b, Real *c)
static void NullMatrixError (const GeneralMatrix *gm)
ostream & operator<< (ostream &s, const BaseMatrix &X)
ostream & operator<< (ostream &s, const GeneralMatrix &X)
ostream & operator<< (ostream &s, const printmat &p)
void HHDecompose (Matrix &X, LowerTriangularMatrix &L)
void HHDecompose (const Matrix &X, Matrix &Y, Matrix &M)
void SVD (const Matrix &, DiagonalMatrix &, Matrix &, Matrix &, bool=true, bool=true)
void SVD (const Matrix &, DiagonalMatrix &)
void SVD (const Matrix &A, DiagonalMatrix &D, Matrix &U, bool withU=true)
void SortSV (DiagonalMatrix &D, Matrix &U, bool ascending=false)
void SortSV (DiagonalMatrix &D, Matrix &U, Matrix &V, bool ascending=false)
void SortAscending (GeneralMatrix &)
void SortDescending (GeneralMatrix &)
static void MatrixDetails (const GeneralMatrix &A)
void ComplexScale (RectMatrixCol &U, RectMatrixCol &V, Real x, Real y)
void Rotate (RectMatrixCol &U, RectMatrixCol &V, Real tau, Real s)
Real pythag (Real f, Real g, Real &c, Real &s)
Real sign (Real x, Real y)
void GivensRotation (Real cGivens, Real sGivens, Real &x, Real &y)
void GivensRotationR (Real cGivens, Real sGivens, Real &x, Real &y)
static void MyQuickSortDescending (Real *first, Real *last, int depth)
static void InsertionSortDescending (Real *first, const int length, int guard)
static Real SortThreeDescending (Real *a, Real *b, Real *c)
static void MyQuickSortAscending (Real *first, Real *last, int depth)
static void InsertionSortAscending (Real *first, const int length, int guard)

Enumeration Type Documentation

Enumerator:
LoadOnEntry 
StoreOnExit 
DirectPart 
StoreHere 
HaveStore 

Definition at line 21 of file newmatrc.h.


Function Documentation

static void NEWMAT::Add ( GeneralMatrix *  gm,
GeneralMatrix *  gm1,
GeneralMatrix *  gm2 
) [static]

Definition at line 127 of file newmat7.cpp.

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

static void NEWMAT::AddDS ( GeneralMatrix *  gm,
GeneralMatrix *  gm2 
) [static]

Definition at line 232 of file newmat7.cpp.

static void NEWMAT::AddDS ( GeneralMatrix *  gm,
GeneralMatrix *  gm1,
GeneralMatrix *  gm2 
) [static]

Definition at line 223 of file newmat7.cpp.

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

static void NEWMAT::AddTo ( GeneralMatrix *  gm,
const GeneralMatrix *  gm2 
) [static]

Definition at line 140 of file newmat7.cpp.

Referenced by NEWMAT::AddedMatrix::Evaluate(), and NEWMAT::GeneralMatrix::PlusEqual().

ReturnMatrix NEWMAT::ApplyQuaternion ( const ColumnVector &  q,
const Matrix &  m 
)

rotate columns of a matrix m by quaternion q (elements in order w,x,y,z)

Only rotates first 3 dimensions, copies "higher" dimensions unchanged so return matrix is same dimensions as m.

Definition at line 960 of file newmat7.cpp.

static int NEWMAT::BitReverse ( int  x,
int  prod,
int  n,
const SimpleIntArray &  f 
) [static]

Definition at line 1040 of file newfft.cpp.

Referenced by GR_1D_FS().

static void NEWMAT::BlockCopy ( int  n,
Real *  from,
Real *  to 
) [static]

Definition at line 569 of file newmat4.cpp.

Referenced by NEWMAT::GeneralMatrix::GetStore(), and NEWMAT::GeneralMatrix::reuse().

ReturnMatrix NEWMAT::Cholesky ( const SymmetricBandMatrix &  S  ) 
ReturnMatrix NEWMAT::Cholesky ( const SymmetricMatrix &  S  ) 
void NEWMAT::ComplexScale ( RectMatrixCol &  U,
RectMatrixCol &  V,
Real  x,
Real  y 
)

Definition at line 133 of file newmatrm.cpp.

Referenced by SVD().

static void NEWMAT::cossin ( int  n,
int  d,
Real &  c,
Real &  s 
) [static]

Definition at line 27 of file fft.cpp.

Referenced by fftstep().

Matrix NEWMAT::CrossProduct ( const Matrix &  A,
const Matrix &  B 
)

Definition at line 991 of file newmat7.cpp.

void NEWMAT::CrossProductBody ( Real *  a,
Real *  b,
Real *  c 
)

Definition at line 984 of file newmat7.cpp.

Referenced by CrossProduct(), and CrossProductRows().

ReturnMatrix NEWMAT::CrossProductColumns ( const Matrix &  A,
const Matrix &  B 
)

Definition at line 1036 of file newmat7.cpp.

ReturnMatrix NEWMAT::CrossProductRows ( const Matrix &  A,
const Matrix &  B 
)

Definition at line 1015 of file newmat7.cpp.

void NEWMAT::DCT ( const ColumnVector &  U,
ColumnVector &  V 
)
void NEWMAT::DCT_II ( const ColumnVector &  U,
ColumnVector &  V 
)
void NEWMAT::DCT_II_inverse ( const ColumnVector &  V,
ColumnVector &  U 
)
void NEWMAT::DCT_inverse ( const ColumnVector &  V,
ColumnVector &  U 
)
Real NEWMAT::Determinant ( const BaseMatrix &  B  ) 

Definition at line 1854 of file newmat.h.

Real NEWMAT::DotProd ( const MatrixRowCol &  mrc1,
const MatrixRowCol &  mrc2 
)

Definition at line 75 of file newmat2.cpp.

Referenced by GeneralMult1().

Real NEWMAT::DotProduct ( const Matrix &  A,
const Matrix &  B 
)

Definition at line 528 of file newmat8.cpp.

void NEWMAT::DowndateCholesky ( UpperTriangularMatrix &  chol,
RowVector  x 
)
void NEWMAT::DST ( const ColumnVector &  U,
ColumnVector &  V 
)
void NEWMAT::DST_II ( const ColumnVector &  U,
ColumnVector &  V 
)
void NEWMAT::DST_II_inverse ( const ColumnVector &  V,
ColumnVector &  U 
)
void NEWMAT::DST_inverse ( const ColumnVector &  V,
ColumnVector &  U 
)
void NEWMAT::EigenValues ( const SymmetricMatrix &  X,
DiagonalMatrix &  D,
SymmetricMatrix &  A 
)
void NEWMAT::EigenValues ( const SymmetricMatrix &  X,
DiagonalMatrix &  D 
)
void NEWMAT::EigenValues ( const SymmetricMatrix &  A,
DiagonalMatrix &  D,
Matrix &  Z 
)
void NEWMAT::FFT ( const ColumnVector &  U,
const ColumnVector &  V,
ColumnVector &  X,
ColumnVector &  Y 
)
void NEWMAT::FFT2 ( const Matrix &  U,
const Matrix &  V,
Matrix &  X,
Matrix &  Y 
)
void NEWMAT::FFT2I ( const Matrix &  U,
const Matrix &  V,
Matrix &  X,
Matrix &  Y 
)
void NEWMAT::FFTI ( const ColumnVector &  U,
const ColumnVector &  V,
ColumnVector &  X,
ColumnVector &  Y 
)
static void NEWMAT::fftstep ( ColumnVector &  A,
ColumnVector &  B,
ColumnVector &  X,
ColumnVector &  Y,
int  after,
int  now,
int  before 
) [static]

Definition at line 47 of file fft.cpp.

static GeneralMatrix * NEWMAT::GeneralKP ( GeneralMatrix *  gm1,
GeneralMatrix *  gm2,
KPMatrix *  kp,
MatrixType  mtx 
) [static]

Definition at line 386 of file newmat7.cpp.

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

static GeneralMatrix * NEWMAT::GeneralMult ( GeneralMatrix *  gm1,
GeneralMatrix *  gm2,
MultipliedMatrix *  mm,
MatrixType  mtx 
) [static]

Definition at line 368 of file newmat7.cpp.

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

static GeneralMatrix* NEWMAT::GeneralMult1 ( GeneralMatrix *  gm1,
GeneralMatrix *  gm2,
MultipliedMatrix *  mm,
MatrixType  mtx 
) [static]

Definition at line 289 of file newmat7.cpp.

Referenced by GeneralMult().

static GeneralMatrix* NEWMAT::GeneralMult2 ( GeneralMatrix *  gm1,
GeneralMatrix *  gm2,
MultipliedMatrix *  mm,
MatrixType  mtx 
) [static]

Definition at line 312 of file newmat7.cpp.

Referenced by GeneralMult().

static GeneralMatrix * NEWMAT::GeneralSolv ( GeneralMatrix *  gm1,
GeneralMatrix *  gm2,
BaseMatrix *  sm,
MatrixType  mtx 
) [static]

Definition at line 407 of file newmat7.cpp.

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

static GeneralMatrix * NEWMAT::GeneralSolvI ( GeneralMatrix *  gm1,
BaseMatrix *  sm,
MatrixType  mtx 
) [static]

Definition at line 448 of file newmat7.cpp.

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

void NEWMAT::GivensRotation ( Real  cGivens,
Real  sGivens,
Real &  x,
Real &  y 
)

Definition at line 116 of file newmatrm.h.

void NEWMAT::GivensRotationR ( Real  cGivens,
Real  sGivens,
Real &  x,
Real &  y 
)

Definition at line 124 of file newmatrm.h.

static void NEWMAT::GR_1D_FS ( int  PTS,
int  N_SYM,
int  N_UN_SYM,
const SimpleIntArray &  SYM,
int  P_SYM,
const SimpleIntArray &  UN_SYM,
Real *  X,
Real *  Y 
) [static]

Definition at line 235 of file newfft.cpp.

Referenced by NEWMAT::FFT_Controller::ar_1d_ft().

static void NEWMAT::GR_1D_FT ( int  N,
int  N_FACTOR,
const SimpleIntArray &  FACTOR,
Real *  X,
Real *  Y 
) [static]

Definition at line 301 of file newfft.cpp.

Referenced by NEWMAT::FFT_Controller::ar_1d_ft().

void NEWMAT::HHDecompose ( const Matrix &  X,
Matrix &  Y,
Matrix &  M 
)

Definition at line 29 of file newmatap.h.

void NEWMAT::HHDecompose ( Matrix &  X,
LowerTriangularMatrix &  L 
)

Definition at line 26 of file newmatap.h.

static void NEWMAT::InsertionSortAscending ( Real *  first,
const int  length,
int  guard 
) [static]

Definition at line 135 of file sort.cpp.

Referenced by SortAscending().

static void NEWMAT::InsertionSortDescending ( Real *  first,
const int  length,
int  guard 
) [static]

Definition at line 73 of file sort.cpp.

Referenced by SortDescending().

static bool NEWMAT::intEqual ( int *  s1,
int *  s2,
int  n 
) [static]

Definition at line 791 of file newmat7.cpp.

Referenced by NEWMAT::BandLUMatrix::IsEqual(), and NEWMAT::CroutMatrix::IsEqual().

bool NEWMAT::IsZero ( const GeneralMatrix &  A  ) 

Definition at line 1874 of file newmat.h.

bool NEWMAT::IsZero ( const BaseMatrix &  A  ) 

Definition at line 881 of file newmat7.cpp.

Referenced by operator==().

void NEWMAT::Jacobi ( const SymmetricMatrix &  X,
DiagonalMatrix &  D,
Matrix &  V 
)
void NEWMAT::Jacobi ( const SymmetricMatrix &  X,
DiagonalMatrix &  D,
SymmetricMatrix &  A 
)
void NEWMAT::Jacobi ( const SymmetricMatrix &  X,
DiagonalMatrix &  D 
)
void NEWMAT::Jacobi ( const SymmetricMatrix &  X,
DiagonalMatrix &  D,
SymmetricMatrix &  A,
Matrix &  V,
bool  eivec 
)
KPMatrix NEWMAT::KP ( const BaseMatrix &  bm1,
const BaseMatrix &  bm2 
)

Definition at line 277 of file newmat6.cpp.

Referenced by GeneralKP().

void NEWMAT::LeftCircularUpdateCholesky ( UpperTriangularMatrix &  chol,
int  k,
int  l 
)
LogAndSign NEWMAT::LogDeterminant ( const BaseMatrix &  B  ) 

Definition at line 1852 of file newmat.h.

void NEWMAT::MatrixErrorNoSpace ( const void *  v  ) 
Real NEWMAT::Maximum ( const BaseMatrix &  B  ) 

Definition at line 1867 of file newmat.h.

Referenced by SVD().

Real NEWMAT::MaximumAbsoluteValue ( const BaseMatrix &  B  ) 

Definition at line 1863 of file newmat.h.

Real NEWMAT::Minimum ( const BaseMatrix &  B  ) 

Definition at line 1868 of file newmat.h.

Referenced by SVD(), and tred2().

Real NEWMAT::MinimumAbsoluteValue ( const BaseMatrix &  B  ) 

Definition at line 1865 of file newmat.h.

static GeneralMatrix* NEWMAT::mmMult ( GeneralMatrix *  gm1,
GeneralMatrix *  gm2 
) [static]

Definition at line 338 of file newmat7.cpp.

Referenced by GeneralMult().

ReturnMatrix NEWMAT::MultiplyQuaternions ( const ColumnVector &  quatA,
const ColumnVector &  quatB 
)

mutliply two quaternions together, producing a new quaternion (elements in order w,x,y,z)

Definition at line 948 of file newmat7.cpp.

static int NEWMAT::my_max ( int  x,
int  y 
) [static]

Definition at line 27 of file bandmat.cpp.

static int NEWMAT::my_min ( int  x,
int  y 
) [static]

Definition at line 26 of file bandmat.cpp.

static void NEWMAT::MyQuickSortAscending ( Real *  first,
Real *  last,
int  depth 
) [static]

Definition at line 159 of file sort.cpp.

Referenced by SortAscending().

static void NEWMAT::MyQuickSortDescending ( Real *  first,
Real *  last,
int  depth 
) [static]

Definition at line 98 of file sort.cpp.

Referenced by SortDescending().

Real NEWMAT::Norm1 ( RowVector &  RV  ) 

Definition at line 1870 of file newmat.h.

Real NEWMAT::Norm1 ( const BaseMatrix &  B  ) 

Definition at line 1869 of file newmat.h.

Real NEWMAT::NormFrobenius ( const BaseMatrix &  B  ) 

Definition at line 1857 of file newmat.h.

Real NEWMAT::NormInfinity ( ColumnVector &  CV  ) 

Definition at line 1872 of file newmat.h.

Real NEWMAT::NormInfinity ( const BaseMatrix &  B  ) 

Definition at line 1871 of file newmat.h.

bool NEWMAT::operator!= ( const BaseMatrix &  A,
const BaseMatrix &  B 
)

Definition at line 1811 of file newmat.h.

bool NEWMAT::operator!= ( const GeneralMatrix &  A,
const GeneralMatrix &  B 
)

Definition at line 1809 of file newmat.h.

ScaledMatrix NEWMAT::operator* ( Real  f,
const BaseMatrix &  BM 
)

Definition at line 310 of file newmat6.cpp.

ShiftedMatrix NEWMAT::operator+ ( Real  f,
const BaseMatrix &  BM 
)

Definition at line 298 of file newmat6.cpp.

NegShiftedMatrix NEWMAT::operator- ( Real  f,
const BaseMatrix &  bm 
)

Definition at line 301 of file newmat6.cpp.

bool NEWMAT::operator< ( const BaseMatrix &  A,
const BaseMatrix &   
)

Definition at line 1820 of file newmat.h.

std::ostream & NEWMAT::operator<< ( ostream &  s,
const printmat &  p 
)
std::ostream & NEWMAT::operator<< ( ostream &  s,
const GeneralMatrix &  X 
)
std::ostream & NEWMAT::operator<< ( ostream &  s,
const BaseMatrix &  X 
)
bool NEWMAT::operator<= ( const BaseMatrix &  A,
const BaseMatrix &   
)

Definition at line 1816 of file newmat.h.

bool NEWMAT::operator== ( const BaseMatrix &  A,
const BaseMatrix &  B 
)

Definition at line 804 of file newmat7.cpp.

bool NEWMAT::operator== ( const GeneralMatrix &  A,
const GeneralMatrix &  B 
)

Definition at line 842 of file newmat7.cpp.

bool NEWMAT::operator> ( const BaseMatrix &  A,
const BaseMatrix &   
)

Definition at line 1822 of file newmat.h.

bool NEWMAT::operator>= ( const BaseMatrix &  A,
const BaseMatrix &   
)

Definition at line 1818 of file newmat.h.

Real NEWMAT::pythag ( Real  f,
Real  g,
Real &  c,
Real &  s 
)

Referenced by SVD().

void NEWMAT::QRZ ( const Matrix &  X,
Matrix &  Y,
Matrix &  M 
)
void NEWMAT::QRZ ( Matrix &  X,
UpperTriangularMatrix &  U 
)
void NEWMAT::QRZT ( const Matrix &  X,
Matrix &  Y,
Matrix &  M 
)
void NEWMAT::QRZT ( Matrix &  X,
LowerTriangularMatrix &  L 
)

Referenced by HHDecompose().

static void NEWMAT::R_16_FTK ( int  N,
int  M,
Real *  X0,
Real *  Y0,
Real *  X1,
Real *  Y1,
Real *  X2,
Real *  Y2,
Real *  X3,
Real *  Y3,
Real *  X4,
Real *  Y4,
Real *  X5,
Real *  Y5,
Real *  X6,
Real *  Y6,
Real *  X7,
Real *  Y7,
Real *  X8,
Real *  Y8,
Real *  X9,
Real *  Y9,
Real *  X10,
Real *  Y10,
Real *  X11,
Real *  Y11,
Real *  X12,
Real *  Y12,
Real *  X13,
Real *  Y13,
Real *  X14,
Real *  Y14,
Real *  X15,
Real *  Y15 
) [static]

Definition at line 785 of file newfft.cpp.

Referenced by GR_1D_FT().

static void NEWMAT::R_2_FTK ( int  N,
int  M,
Real *  X0,
Real *  Y0,
Real *  X1,
Real *  Y1 
) [static]

Definition at line 444 of file newfft.cpp.

Referenced by GR_1D_FT().

static void NEWMAT::R_3_FTK ( int  N,
int  M,
Real *  X0,
Real *  Y0,
Real *  X1,
Real *  Y1,
Real *  X2,
Real *  Y2 
) [static]

Definition at line 484 of file newfft.cpp.

Referenced by GR_1D_FT().

static void NEWMAT::R_4_FTK ( int  N,
int  M,
Real *  X0,
Real *  Y0,
Real *  X1,
Real *  Y1,
Real *  X2,
Real *  Y2,
Real *  X3,
Real *  Y3 
) [static]

Definition at line 537 of file newfft.cpp.

Referenced by GR_1D_FT().

static void NEWMAT::R_5_FTK ( int  N,
int  M,
Real *  X0,
Real *  Y0,
Real *  X1,
Real *  Y1,
Real *  X2,
Real *  Y2,
Real *  X3,
Real *  Y3,
Real *  X4,
Real *  Y4 
) [static]

Definition at line 602 of file newfft.cpp.

Referenced by GR_1D_FT().

static void NEWMAT::R_8_FTK ( int  N,
int  M,
Real *  X0,
Real *  Y0,
Real *  X1,
Real *  Y1,
Real *  X2,
Real *  Y2,
Real *  X3,
Real *  Y3,
Real *  X4,
Real *  Y4,
Real *  X5,
Real *  Y5,
Real *  X6,
Real *  Y6,
Real *  X7,
Real *  Y7 
) [static]

Definition at line 681 of file newfft.cpp.

Referenced by GR_1D_FT().

static void NEWMAT::R_P_FTK ( int  N,
int  M,
int  P,
Real *  X,
Real *  Y 
) [static]

Definition at line 345 of file newfft.cpp.

Referenced by GR_1D_FT().

static bool NEWMAT::RealEqual ( Real *  s1,
Real *  s2,
int  n 
) [static]
void NEWMAT::RealFFT ( const ColumnVector &  U,
ColumnVector &  X,
ColumnVector &  Y 
)
void NEWMAT::RealFFTI ( const ColumnVector &  A,
const ColumnVector &  B,
ColumnVector &  U 
)
bool NEWMAT::Rectangular ( MatrixType  a,
MatrixType  b,
MatrixType  c 
)

Definition at line 102 of file newmat1.cpp.

Referenced by GeneralMult().

static void NEWMAT::ReverseSubtract ( GeneralMatrix *  gm,
const GeneralMatrix *  gm2 
) [static]

Definition at line 187 of file newmat7.cpp.

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

static void NEWMAT::ReverseSubtractDS ( GeneralMatrix *  gm,
GeneralMatrix *  gm2 
) [static]

Definition at line 261 of file newmat7.cpp.

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

void NEWMAT::RightCircularUpdateCholesky ( UpperTriangularMatrix &  chol,
int  k,
int  l 
)
void NEWMAT::Rotate ( RectMatrixCol &  U,
RectMatrixCol &  V,
Real  tau,
Real  s 
)

Definition at line 157 of file newmatrm.cpp.

Real NEWMAT::sign ( Real  x,
Real  y 
)

Definition at line 108 of file newmatrm.h.

Referenced by SVD(), and tred2().

void NEWMAT::SortAscending ( GeneralMatrix &  GM  ) 

Definition at line 123 of file sort.cpp.

void NEWMAT::SortDescending ( GeneralMatrix &  GM  ) 

Definition at line 47 of file sort.cpp.

Referenced by SVD().

void NEWMAT::SortSV ( DiagonalMatrix &  D,
Matrix &  U,
Matrix &  V,
bool  ascending = false 
)

Definition at line 226 of file sort.cpp.

void NEWMAT::SortSV ( DiagonalMatrix &  D,
Matrix &  U,
bool  ascending = false 
)

Definition at line 192 of file sort.cpp.

Referenced by SVD().

static Real NEWMAT::SortThreeDescending ( Real *  a,
Real *  b,
Real *  c 
) [static]

Definition at line 59 of file sort.cpp.

Referenced by MyQuickSortAscending(), and MyQuickSortDescending().

static void NEWMAT::SP ( GeneralMatrix *  gm,
GeneralMatrix *  gm2 
) [static]

Definition at line 212 of file newmat7.cpp.

static void NEWMAT::SP ( GeneralMatrix *  gm,
GeneralMatrix *  gm1,
GeneralMatrix *  gm2 
) [static]

Definition at line 199 of file newmat7.cpp.

SPMatrix NEWMAT::SP ( const BaseMatrix &  bm1,
const BaseMatrix &  bm2 
)

Definition at line 274 of file newmat6.cpp.

static void NEWMAT::SPDS ( GeneralMatrix *  gm,
GeneralMatrix *  gm2 
) [static]

Definition at line 279 of file newmat7.cpp.

static void NEWMAT::SPDS ( GeneralMatrix *  gm,
GeneralMatrix *  gm1,
GeneralMatrix *  gm2 
) [static]

Definition at line 270 of file newmat7.cpp.

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

int NEWMAT::square ( int  x  ) 

Definition at line 115 of file newfft.cpp.

static void NEWMAT::Subtract ( GeneralMatrix *  gm,
GeneralMatrix *  gm1,
GeneralMatrix *  gm2 
) [static]

Definition at line 157 of file newmat7.cpp.

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

static void NEWMAT::SubtractDS ( GeneralMatrix *  gm,
GeneralMatrix *  gm2 
) [static]

Definition at line 252 of file newmat7.cpp.

static void NEWMAT::SubtractDS ( GeneralMatrix *  gm,
GeneralMatrix *  gm1,
GeneralMatrix *  gm2 
) [static]

Definition at line 243 of file newmat7.cpp.

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

static void NEWMAT::SubtractFrom ( GeneralMatrix *  gm,
const GeneralMatrix *  gm2 
) [static]
Real NEWMAT::Sum ( const BaseMatrix &  B  ) 

Definition at line 1861 of file newmat.h.

Real NEWMAT::SumAbsoluteValue ( const BaseMatrix &  B  ) 

Definition at line 1859 of file newmat.h.

Real NEWMAT::SumSquare ( const BaseMatrix &  B  ) 

Definition at line 1856 of file newmat.h.

Referenced by NEWMAT::MLE_D_FI::NextPoint().

void NEWMAT::SVD ( const Matrix &  A,
DiagonalMatrix &  D,
Matrix &  U,
bool  withU = true 
)

Definition at line 66 of file newmatap.h.

void NEWMAT::SVD ( const Matrix &  A,
DiagonalMatrix &  D 
)

Definition at line 198 of file svd.cpp.

void NEWMAT::SVD ( const Matrix &  A,
DiagonalMatrix &  Q,
Matrix &  U,
Matrix &  V,
bool  withU = true,
bool  withV = true 
)

Definition at line 28 of file svd.cpp.

Referenced by SVD().

void NEWMAT::swap ( GenericMatrix &  A,
GenericMatrix &  B 
)

Definition at line 1900 of file newmat.h.

void NEWMAT::swap ( IdentityMatrix &  A,
IdentityMatrix &  B 
)

Definition at line 1899 of file newmat.h.

void NEWMAT::swap ( BandLUMatrix &  A,
BandLUMatrix &  B 
)

Definition at line 1898 of file newmat.h.

void NEWMAT::swap ( SymmetricBandMatrix &  A,
SymmetricBandMatrix &  B 
)

Definition at line 1897 of file newmat.h.

void NEWMAT::swap ( LowerBandMatrix &  A,
LowerBandMatrix &  B 
)

Definition at line 1896 of file newmat.h.

void NEWMAT::swap ( UpperBandMatrix &  A,
UpperBandMatrix &  B 
)

Definition at line 1895 of file newmat.h.

void NEWMAT::swap ( BandMatrix &  A,
BandMatrix &  B 
)

Definition at line 1894 of file newmat.h.

void NEWMAT::swap ( CroutMatrix &  A,
CroutMatrix &  B 
)

Definition at line 1893 of file newmat.h.

void NEWMAT::swap ( ColumnVector &  A,
ColumnVector &  B 
)

Definition at line 1892 of file newmat.h.

void NEWMAT::swap ( RowVector &  A,
RowVector &  B 
)

Definition at line 1891 of file newmat.h.

void NEWMAT::swap ( DiagonalMatrix &  A,
DiagonalMatrix &  B 
)

Definition at line 1890 of file newmat.h.

void NEWMAT::swap ( SymmetricMatrix &  A,
SymmetricMatrix &  B 
)

Definition at line 1889 of file newmat.h.

void NEWMAT::swap ( LowerTriangularMatrix &  A,
LowerTriangularMatrix &  B 
)

Definition at line 1887 of file newmat.h.

void NEWMAT::swap ( UpperTriangularMatrix &  A,
UpperTriangularMatrix &  B 
)

Definition at line 1885 of file newmat.h.

void NEWMAT::swap ( nricMatrix &  A,
nricMatrix &  B 
)

Definition at line 1884 of file newmat.h.

void NEWMAT::swap ( SquareMatrix &  A,
SquareMatrix &  B 
)

Definition at line 1883 of file newmat.h.

void NEWMAT::swap ( Matrix &  A,
Matrix &  B 
)

Definition at line 1882 of file newmat.h.

static void NEWMAT::tql1 ( DiagonalMatrix &  D,
DiagonalMatrix &  E 
) [static]

Definition at line 222 of file evalue.cpp.

static void NEWMAT::tql2 ( DiagonalMatrix &  D,
DiagonalMatrix &  E,
Matrix &  Z 
) [static]

Definition at line 98 of file evalue.cpp.

Real NEWMAT::Trace ( const BaseMatrix &  B  ) 

Definition at line 1858 of file newmat.h.

static void NEWMAT::tred2 ( const SymmetricMatrix &  A,
DiagonalMatrix &  D,
DiagonalMatrix &  E,
Matrix &  Z 
) [static]

Definition at line 24 of file evalue.cpp.

static void NEWMAT::tred3 ( const SymmetricMatrix &  X,
DiagonalMatrix &  D,
DiagonalMatrix &  E,
SymmetricMatrix &  A 
) [static]

Definition at line 179 of file evalue.cpp.

void NEWMAT::UpdateCholesky ( UpperTriangularMatrix &  chol,
RowVector  r1Modification 
)
void NEWMAT::UpdateQRZ ( Matrix &  X,
UpperTriangularMatrix &  U 
)
void NEWMAT::UpdateQRZT ( Matrix &  X,
LowerTriangularMatrix &  L 
)

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