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)
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 68 of file newmatrc.h.


Function Documentation

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

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  ) 

Definition at line 56 of file cholesky.cpp.

ReturnMatrix NEWMAT::Cholesky ( const SymmetricMatrix &  S  ) 

Definition at line 31 of file cholesky.cpp.

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

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 DCT_II(), DCT_II_inverse(), DST_II(), DST_II_inverse(), fftstep(), RealFFT(), and RealFFTI().

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

Definition at line 956 of file newmat7.cpp.

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

Definition at line 949 of file newmat7.cpp.

Referenced by CrossProduct(), and CrossProductRows().

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

Definition at line 1001 of file newmat7.cpp.

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

Definition at line 980 of file newmat7.cpp.

void NEWMAT::DCT ( const ColumnVector &  U,
ColumnVector &  V 
)

Definition at line 394 of file fft.cpp.

void NEWMAT::DCT_II ( const ColumnVector &  U,
ColumnVector &  V 
)

Definition at line 250 of file fft.cpp.

void NEWMAT::DCT_II_inverse ( const ColumnVector &  V,
ColumnVector &  U 
)

Definition at line 278 of file fft.cpp.

void NEWMAT::DCT_inverse ( const ColumnVector &  V,
ColumnVector &  U 
)

Definition at line 360 of file fft.cpp.

Referenced by DCT().

Real NEWMAT::Determinant ( const BaseMatrix &  B  )  [inline]

Definition at line 1838 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 
)

Definition at line 124 of file cholesky.cpp.

void NEWMAT::DST ( const ColumnVector &  U,
ColumnVector &  V 
)

Definition at line 431 of file fft.cpp.

void NEWMAT::DST_II ( const ColumnVector &  U,
ColumnVector &  V 
)

Definition at line 305 of file fft.cpp.

void NEWMAT::DST_II_inverse ( const ColumnVector &  V,
ColumnVector &  U 
)

Definition at line 333 of file fft.cpp.

void NEWMAT::DST_inverse ( const ColumnVector &  V,
ColumnVector &  U 
)

Definition at line 403 of file fft.cpp.

Referenced by DST().

void NEWMAT::EigenValues ( const SymmetricMatrix &  X,
DiagonalMatrix &  D,
SymmetricMatrix &  A 
)

Definition at line 291 of file evalue.cpp.

void NEWMAT::EigenValues ( const SymmetricMatrix &  X,
DiagonalMatrix &  D 
)

Definition at line 288 of file evalue.cpp.

void NEWMAT::EigenValues ( const SymmetricMatrix &  A,
DiagonalMatrix &  D,
Matrix &  Z 
)

Definition at line 285 of file evalue.cpp.

void NEWMAT::FFT ( const ColumnVector &  U,
const ColumnVector &  V,
ColumnVector &  X,
ColumnVector &  Y 
)

Definition at line 198 of file fft.cpp.

Referenced by FFT2(), FFTI(), RealFFT(), and RealFFTI().

void NEWMAT::FFT2 ( const Matrix &  U,
const Matrix &  V,
Matrix &  X,
Matrix &  Y 
)

Definition at line 441 of file fft.cpp.

Referenced by FFT2I().

void NEWMAT::FFT2I ( const Matrix &  U,
const Matrix &  V,
Matrix &  X,
Matrix &  Y 
)

Definition at line 462 of file fft.cpp.

void NEWMAT::FFTI ( const ColumnVector &  U,
const ColumnVector &  V,
ColumnVector &  X,
ColumnVector &  Y 
)

Definition at line 117 of file fft.cpp.

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.

Referenced by FFT().

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 
) [inline]

Definition at line 116 of file newmatrm.h.

Referenced by DowndateCholesky(), and UpdateCholesky().

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

Definition at line 124 of file newmatrm.h.

Referenced by LeftCircularUpdateCholesky(), and RightCircularUpdateCholesky().

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 
) [inline]

Definition at line 29 of file newmatap.h.

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

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  )  [inline]

Definition at line 1858 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 
)

Definition at line 117 of file jacobi.cpp.

void NEWMAT::Jacobi ( const SymmetricMatrix &  X,
DiagonalMatrix &  D,
SymmetricMatrix &  A 
)

Definition at line 114 of file jacobi.cpp.

void NEWMAT::Jacobi ( const SymmetricMatrix &  X,
DiagonalMatrix &  D 
)

Definition at line 111 of file jacobi.cpp.

void NEWMAT::Jacobi ( const SymmetricMatrix &  X,
DiagonalMatrix &  D,
SymmetricMatrix &  A,
Matrix &  V,
bool  eivec 
)

Definition at line 28 of file jacobi.cpp.

Referenced by Jacobi().

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 
)

Definition at line 226 of file cholesky.cpp.

LogAndSign NEWMAT::LogDeterminant ( const BaseMatrix &  B  )  [inline]

Definition at line 1836 of file newmat.h.

void NEWMAT::MatrixErrorNoSpace ( const void *  v  ) 

Definition at line 291 of file newmatex.cpp.

Referenced by NEWMAT::BandLUMatrix::BandLUMatrix(), NEWMAT::ConstRealStarStar::ConstRealStarStar(), NEWMAT::CroutMatrix::CroutMatrix(), NEWMAT::MatedMatrix::Evaluate(), NEWMAT::DiagedMatrix::Evaluate(), NEWMAT::ColedMatrix::Evaluate(), NEWMAT::RowedMatrix::Evaluate(), NEWMAT::GeneralMatrix::GeneralMatrix(), GeneralSolv(), GeneralSolvI(), NEWMAT::SymmetricBandMatrix::GetCol(), NEWMAT::BandMatrix::GetCol(), NEWMAT::SymmetricMatrix::GetCol(), NEWMAT::LowerTriangularMatrix::GetCol(), NEWMAT::UpperTriangularMatrix::GetCol(), NEWMAT::Matrix::GetCol(), NEWMAT::SymmetricBandMatrix::GetRow(), NEWMAT::SymmetricMatrix::GetRow(), NEWMAT::GeneralMatrix::GetStore(), NEWMAT::IdentityMatrix::Image(), NEWMAT::nricMatrix::Image(), NEWMAT::SymmetricBandMatrix::Image(), NEWMAT::LowerBandMatrix::Image(), NEWMAT::UpperBandMatrix::Image(), NEWMAT::BandMatrix::Image(), NEWMAT::ColumnVector::Image(), NEWMAT::RowVector::Image(), NEWMAT::DiagonalMatrix::Image(), NEWMAT::LowerTriangularMatrix::Image(), NEWMAT::UpperTriangularMatrix::Image(), NEWMAT::SymmetricMatrix::Image(), NEWMAT::SquareMatrix::Image(), NEWMAT::Matrix::Image(), NEWMAT::nricMatrix::MakeRowPointer(), NEWMAT::Matrix::MakeSolver(), NEWMAT::GeneralMatrix::MakeSolver(), NEWMAT::SymmetricBandMatrix::MakeSolver(), NEWMAT::BandMatrix::MakeSolver(), mmMult(), NEWMAT::MatrixType::New(), NEWMAT::RealStarStar::RealStarStar(), NEWMAT::GeneralMatrix::ReSize(), NEWMAT::GeneralMatrix::reuse(), NEWMAT::RowVector::Transpose(), and NEWMAT::ColumnVector::Transpose().

Real NEWMAT::Maximum ( const BaseMatrix &  B  )  [inline]

Real NEWMAT::MaximumAbsoluteValue ( const BaseMatrix &  B  )  [inline]

Real NEWMAT::Minimum ( const BaseMatrix &  B  )  [inline]

Definition at line 1852 of file newmat.h.

Referenced by SVD(), tred2(), and tred3().

Real NEWMAT::MinimumAbsoluteValue ( const BaseMatrix &  B  )  [inline]

Definition at line 1849 of file newmat.h.

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

Definition at line 338 of file newmat7.cpp.

Referenced by GeneralMult().

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

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

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  )  [inline]

Definition at line 1854 of file newmat.h.

Real NEWMAT::Norm1 ( const BaseMatrix &  B  )  [inline]

Definition at line 1853 of file newmat.h.

Real NEWMAT::NormFrobenius ( const BaseMatrix &  B  )  [inline]

Definition at line 1841 of file newmat.h.

Real NEWMAT::NormInfinity ( ColumnVector &  CV  )  [inline]

Definition at line 1856 of file newmat.h.

Real NEWMAT::NormInfinity ( const BaseMatrix &  B  )  [inline]

Definition at line 1855 of file newmat.h.

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

Definition at line 310 of file newmat6.cpp.

Referenced by NEWMAT::InvertedMatrix::operator *().

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

Definition at line 1801 of file newmat.h.

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

Definition at line 1799 of file newmat.h.

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 &   
) [inline]

Definition at line 1810 of file newmat.h.

std::ostream & NEWMAT::operator<< ( ostream &  s,
const printmat &  p 
)

std::ostream & NEWMAT::operator<< ( ostream &  s,
const GeneralMatrix &  X 
)

Definition at line 43 of file newmat9.cpp.

std::ostream & NEWMAT::operator<< ( ostream &  s,
const BaseMatrix &  X 
)

Definition at line 36 of file newmat9.cpp.

bool NEWMAT::operator<= ( const BaseMatrix &  A,
const BaseMatrix &   
) [inline]

Definition at line 1806 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 &   
) [inline]

Definition at line 1812 of file newmat.h.

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

Definition at line 1808 of file newmat.h.

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

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

Definition at line 165 of file hholder.cpp.

void NEWMAT::QRZ ( Matrix &  X,
UpperTriangularMatrix &  U 
)

Definition at line 113 of file hholder.cpp.

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

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

Definition at line 62 of file hholder.cpp.

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

Definition at line 29 of file hholder.cpp.

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 
)

Definition at line 127 of file fft.cpp.

Referenced by DCT_II(), and DST_II().

void NEWMAT::RealFFTI ( const ColumnVector &  A,
const ColumnVector &  B,
ColumnVector &  U 
)

Definition at line 163 of file fft.cpp.

Referenced by DCT_II_inverse(), DCT_inverse(), DST_II_inverse(), and DST_inverse().

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 
)

Definition at line 171 of file cholesky.cpp.

void NEWMAT::Rotate ( RectMatrixCol &  U,
RectMatrixCol &  V,
Real  tau,
Real  s 
)

Definition at line 157 of file newmatrm.cpp.

Referenced by Jacobi().

Real NEWMAT::sign ( Real  x,
Real  y 
) [inline]

Definition at line 108 of file newmatrm.h.

Referenced by SVD(), tred2(), and tred3().

void NEWMAT::SortAscending ( GeneralMatrix &  GM  ) 

Definition at line 123 of file sort.cpp.

Referenced by Jacobi().

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 EigenValues(), Jacobi(), and 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  )  [inline]

Definition at line 115 of file newfft.cpp.

Referenced by GR_1D_FS().

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  )  [inline]

Definition at line 1845 of file newmat.h.

Referenced by NEWMAT::BandMatrix::Sum().

Real NEWMAT::SumAbsoluteValue ( const BaseMatrix &  B  )  [inline]

Definition at line 1843 of file newmat.h.

Referenced by NEWMAT::BandMatrix::SumAbsoluteValue().

Real NEWMAT::SumSquare ( const BaseMatrix &  B  )  [inline]

Definition at line 1840 of file newmat.h.

Referenced by NEWMAT::MLE_D_FI::NextPoint(), and NEWMAT::BandMatrix::SumSquare().

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

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 ( IdentityMatrix &  A,
IdentityMatrix &  B 
) [inline]

Definition at line 1883 of file newmat.h.

void NEWMAT::swap ( BandLUMatrix &  A,
BandLUMatrix &  B 
) [inline]

Definition at line 1882 of file newmat.h.

void NEWMAT::swap ( SymmetricBandMatrix &  A,
SymmetricBandMatrix &  B 
) [inline]

Definition at line 1881 of file newmat.h.

void NEWMAT::swap ( LowerBandMatrix &  A,
LowerBandMatrix &  B 
) [inline]

Definition at line 1880 of file newmat.h.

void NEWMAT::swap ( UpperBandMatrix &  A,
UpperBandMatrix &  B 
) [inline]

Definition at line 1879 of file newmat.h.

void NEWMAT::swap ( BandMatrix &  A,
BandMatrix &  B 
) [inline]

Definition at line 1878 of file newmat.h.

void NEWMAT::swap ( CroutMatrix &  A,
CroutMatrix &  B 
) [inline]

Definition at line 1877 of file newmat.h.

void NEWMAT::swap ( ColumnVector &  A,
ColumnVector &  B 
) [inline]

Definition at line 1876 of file newmat.h.

void NEWMAT::swap ( RowVector &  A,
RowVector &  B 
) [inline]

Definition at line 1875 of file newmat.h.

void NEWMAT::swap ( DiagonalMatrix &  A,
DiagonalMatrix &  B 
) [inline]

Definition at line 1874 of file newmat.h.

void NEWMAT::swap ( SymmetricMatrix &  A,
SymmetricMatrix &  B 
) [inline]

Definition at line 1873 of file newmat.h.

void NEWMAT::swap ( LowerTriangularMatrix &  A,
LowerTriangularMatrix &  B 
) [inline]

Definition at line 1871 of file newmat.h.

void NEWMAT::swap ( UpperTriangularMatrix &  A,
UpperTriangularMatrix &  B 
) [inline]

Definition at line 1869 of file newmat.h.

void NEWMAT::swap ( nricMatrix &  A,
nricMatrix &  B 
) [inline]

Definition at line 1868 of file newmat.h.

void NEWMAT::swap ( SquareMatrix &  A,
SquareMatrix &  B 
) [inline]

Definition at line 1867 of file newmat.h.

void NEWMAT::swap ( Matrix &  A,
Matrix &  B 
) [inline]

Definition at line 1866 of file newmat.h.

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

Definition at line 224 of file evalue.cpp.

Referenced by EigenValues().

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

Definition at line 100 of file evalue.cpp.

Referenced by EigenValues().

Real NEWMAT::Trace ( const BaseMatrix &  B  )  [inline]

Definition at line 1842 of file newmat.h.

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

Definition at line 26 of file evalue.cpp.

Referenced by EigenValues().

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

Definition at line 181 of file evalue.cpp.

Referenced by EigenValues().

void NEWMAT::UpdateCholesky ( UpperTriangularMatrix &  chol,
RowVector  r1Modification 
)

Definition at line 97 of file cholesky.cpp.

void NEWMAT::UpdateQRZ ( Matrix &  X,
UpperTriangularMatrix &  U 
)

Definition at line 265 of file hholder.cpp.

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

Definition at line 225 of file hholder.cpp.


newmat11b
Generated Thu Nov 22 00:51:06 2007 by Doxygen 1.5.4