Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

NEWMAT::BaseMatrix Class Reference

#include <newmat.h>

Inheritance diagram for NEWMAT::BaseMatrix:

Detailed Description

Definition at line 275 of file newmat.h.

List of all members.

Public Member Functions

virtual GeneralMatrixEvaluate (MatrixType mt=MatrixTypeUnSp)=0
AddedMatrix operator+ (const BaseMatrix &) const
MultipliedMatrix operator* (const BaseMatrix &) const
SubtractedMatrix operator- (const BaseMatrix &) const
ConcatenatedMatrix operator| (const BaseMatrix &) const
StackedMatrix operator& (const BaseMatrix &) const
ShiftedMatrix operator+ (Real) const
ScaledMatrix operator* (Real) const
ScaledMatrix operator/ (Real) const
ShiftedMatrix operator- (Real) const
TransposedMatrix t () const
NegatedMatrix operator- () const
ReversedMatrix Reverse () const
InvertedMatrix i () const
RowedMatrix AsRow () const
ColedMatrix AsColumn () const
DiagedMatrix AsDiagonal () const
MatedMatrix AsMatrix (int, int) const
GetSubMatrix SubMatrix (int, int, int, int) const
GetSubMatrix SymSubMatrix (int, int) const
GetSubMatrix Row (int) const
GetSubMatrix Rows (int, int) const
GetSubMatrix Column (int) const
GetSubMatrix Columns (int, int) const
Real AsScalar () const
virtual LogAndSign LogDeterminant () const
Real Determinant () const
virtual Real SumSquare () const
Real NormFrobenius () const
virtual Real SumAbsoluteValue () const
virtual Real Sum () const
virtual Real MaximumAbsoluteValue () const
virtual Real MaximumAbsoluteValue1 (int &i) const
virtual Real MaximumAbsoluteValue2 (int &i, int &j) const
virtual Real MinimumAbsoluteValue () const
virtual Real MinimumAbsoluteValue1 (int &i) const
virtual Real MinimumAbsoluteValue2 (int &i, int &j) const
virtual Real Maximum () const
virtual Real Maximum1 (int &i) const
virtual Real Maximum2 (int &i, int &j) const
virtual Real Minimum () const
virtual Real Minimum1 (int &i) const
virtual Real Minimum2 (int &i, int &j) const
virtual Real Trace () const
Real Norm1 () const
Real NormInfinity () const
virtual MatrixBandWidth BandWidth () const
virtual void CleanUp ()
void IEQND () const

Protected Member Functions

virtual int search (const BaseMatrix *) const =0

Friends

class GeneralMatrix
class Matrix
class SquareMatrix
class nricMatrix
class RowVector
class ColumnVector
class SymmetricMatrix
class UpperTriangularMatrix
class LowerTriangularMatrix
class DiagonalMatrix
class CroutMatrix
class BandMatrix
class LowerBandMatrix
class UpperBandMatrix
class SymmetricBandMatrix
class AddedMatrix
class MultipliedMatrix
class SubtractedMatrix
class SPMatrix
class KPMatrix
class ConcatenatedMatrix
class StackedMatrix
class SolvedMatrix
class ShiftedMatrix
class NegShiftedMatrix
class ScaledMatrix
class TransposedMatrix
class ReversedMatrix
class NegatedMatrix
class InvertedMatrix
class RowedMatrix
class ColedMatrix
class DiagedMatrix
class MatedMatrix
class GetSubMatrix
class ReturnMatrix
class LinearEquationSolver
class GenericMatrix

Member Function Documentation

ColedMatrix NEWMAT::BaseMatrix::AsColumn (  )  const
DiagedMatrix NEWMAT::BaseMatrix::AsDiagonal (  )  const

Definition at line 335 of file newmat6.cpp.

MatedMatrix NEWMAT::BaseMatrix::AsMatrix ( int  nrx,
int  ncx 
) const

Definition at line 338 of file newmat6.cpp.

RowedMatrix NEWMAT::BaseMatrix::AsRow (  )  const

Definition at line 329 of file newmat6.cpp.

Real NEWMAT::BaseMatrix::AsScalar (  )  const

Definition at line 254 of file newmat6.cpp.

virtual void NEWMAT::BaseMatrix::CleanUp (  )  [virtual]
GetSubMatrix NEWMAT::BaseMatrix::Column ( int  first_col  )  const

Definition at line 64 of file submat.cpp.

GetSubMatrix NEWMAT::BaseMatrix::Columns ( int  first_col,
int  last_col 
) const

Definition at line 73 of file submat.cpp.

Real NEWMAT::BaseMatrix::Determinant (  )  const

Definition at line 713 of file newmat8.cpp.

Referenced by NEWMAT::Determinant().

InvertedMatrix NEWMAT::BaseMatrix::i (  )  const

Definition at line 325 of file newmat6.cpp.

Referenced by NEWMAT::GeneralMatrix::Add(), NEWMAT::SymmetricBandMatrix::element(), NEWMAT::LowerBandMatrix::element(), NEWMAT::UpperBandMatrix::element(), NEWMAT::BandMatrix::element(), NEWMAT::GetSubMatrix::Evaluate(), NEWMAT::GeneralMatrix::Evaluate(), NEWMAT::SymmetricMatrix::GetCol(), NEWMAT::LowerTriangularMatrix::GetCol(), NEWMAT::UpperTriangularMatrix::GetCol(), NEWMAT::Matrix::GetCol(), NEWMAT::MLE_D_FI::GetCorrelations(), NEWMAT::NonLinearLeastSquares::GetCorrelations(), NEWMAT::SymmetricMatrix::GetRow(), NEWMAT::GetSubMatrix::Inject(), NEWMAT::GeneralMatrix::Inject(), NEWMAT::GeneralMatrix::IsZero(), NEWMAT::CroutMatrix::LogDeterminant(), NEWMAT::IdentityMatrix::LogDeterminant(), NEWMAT::UpperTriangularMatrix::LogDeterminant(), NEWMAT::LowerTriangularMatrix::LogDeterminant(), NEWMAT::DiagonalMatrix::LogDeterminant(), NEWMAT::CroutMatrix::lubksb(), NEWMAT::CroutMatrix::ludcmp(), NEWMAT::MLE_D_FI::MakeCovariance(), NEWMAT::NonLinearLeastSquares::MakeCovariance(), NEWMAT::nricMatrix::MakeRowPointer(), NEWMAT::GeneralMatrix::Multiply(), NEWMAT::GeneralMatrix::NegAdd(), NEWMAT::GeneralMatrix::Negate(), NEWMAT::Matrix::NextCol(), NEWMAT::MLE_D_FI::NextPoint(), NEWMAT::NonLinearLeastSquares::NextPoint(), NEWMAT::SymmetricBandMatrix::operator()(), NEWMAT::LowerBandMatrix::operator()(), NEWMAT::UpperBandMatrix::operator()(), NEWMAT::BandMatrix::operator()(), NEWMAT::GetSubMatrix::operator*=(), NEWMAT::GetSubMatrix::operator+=(), NEWMAT::GetSubMatrix::operator-=(), NEWMAT::GetSubMatrix::operator<<(), NEWMAT::GeneralMatrix::operator<<(), NEWMAT::GetSubMatrix::operator=(), NEWMAT::GeneralMatrix::operator=(), NEWMAT::SymmetricMatrix::RestoreCol(), NEWMAT::LowerTriangularMatrix::RestoreCol(), NEWMAT::UpperTriangularMatrix::RestoreCol(), NEWMAT::Matrix::RestoreCol(), NEWMAT::LowerTriangularMatrix::Solver(), NEWMAT::UpperTriangularMatrix::Solver(), NEWMAT::CroutMatrix::Solver(), NEWMAT::SymmetricMatrix::Sum(), NEWMAT::GeneralMatrix::Sum(), NEWMAT::SymmetricMatrix::SumAbsoluteValue(), NEWMAT::GeneralMatrix::SumAbsoluteValue(), NEWMAT::SymmetricMatrix::SumSquare(), NEWMAT::GeneralMatrix::SumSquare(), NEWMAT::BandLUMatrix::swap(), NEWMAT::SymmetricBandMatrix::swap(), NEWMAT::BandMatrix::swap(), NEWMAT::CroutMatrix::swap(), NEWMAT::SymmetricBandMatrix::Trace(), NEWMAT::BandMatrix::Trace(), NEWMAT::UpperTriangularMatrix::Trace(), NEWMAT::LowerTriangularMatrix::Trace(), NEWMAT::SymmetricMatrix::Trace(), NEWMAT::DiagonalMatrix::Trace(), NEWMAT::Matrix::Trace(), and NEWMAT::GeneralMatrix::Transpose().

void NEWMAT::BaseMatrix::IEQND (  )  const
Real NEWMAT::BaseMatrix::Maximum (  )  const [virtual]

Reimplemented in NEWMAT::GeneralMatrix, NEWMAT::BandMatrix, and NEWMAT::SymmetricBandMatrix.

Definition at line 492 of file newmat8.cpp.

Referenced by NEWMAT::Maximum().

Real NEWMAT::BaseMatrix::Maximum1 ( int &  i  )  const [virtual]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 498 of file newmat8.cpp.

Real NEWMAT::BaseMatrix::Maximum2 ( int &  i,
int &  j 
) const [virtual]

Reimplemented in NEWMAT::GeneralMatrix, and NEWMAT::Matrix.

Definition at line 504 of file newmat8.cpp.

Real NEWMAT::BaseMatrix::MaximumAbsoluteValue (  )  const [virtual]

Reimplemented in NEWMAT::GeneralMatrix, NEWMAT::BandMatrix, and NEWMAT::SymmetricBandMatrix.

Definition at line 456 of file newmat8.cpp.

Referenced by NEWMAT::MaximumAbsoluteValue().

Real NEWMAT::BaseMatrix::MaximumAbsoluteValue1 ( int &  i  )  const [virtual]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 462 of file newmat8.cpp.

Real NEWMAT::BaseMatrix::MaximumAbsoluteValue2 ( int &  i,
int &  j 
) const [virtual]

Reimplemented in NEWMAT::GeneralMatrix, and NEWMAT::Matrix.

Definition at line 468 of file newmat8.cpp.

Real NEWMAT::BaseMatrix::Minimum (  )  const [virtual]

Reimplemented in NEWMAT::GeneralMatrix, NEWMAT::BandMatrix, and NEWMAT::SymmetricBandMatrix.

Definition at line 510 of file newmat8.cpp.

Referenced by NEWMAT::Minimum().

Real NEWMAT::BaseMatrix::Minimum1 ( int &  i  )  const [virtual]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 516 of file newmat8.cpp.

Real NEWMAT::BaseMatrix::Minimum2 ( int &  i,
int &  j 
) const [virtual]

Reimplemented in NEWMAT::GeneralMatrix, and NEWMAT::Matrix.

Definition at line 522 of file newmat8.cpp.

Real NEWMAT::BaseMatrix::MinimumAbsoluteValue (  )  const [virtual]

Reimplemented in NEWMAT::GeneralMatrix, NEWMAT::BandMatrix, and NEWMAT::SymmetricBandMatrix.

Definition at line 474 of file newmat8.cpp.

Referenced by NEWMAT::MinimumAbsoluteValue().

Real NEWMAT::BaseMatrix::MinimumAbsoluteValue1 ( int &  i  )  const [virtual]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 480 of file newmat8.cpp.

Real NEWMAT::BaseMatrix::MinimumAbsoluteValue2 ( int &  i,
int &  j 
) const [virtual]

Reimplemented in NEWMAT::GeneralMatrix, and NEWMAT::Matrix.

Definition at line 486 of file newmat8.cpp.

Real NEWMAT::BaseMatrix::Norm1 (  )  const

Definition at line 715 of file newmat7.cpp.

Referenced by NEWMAT::Norm1().

Real NEWMAT::BaseMatrix::NormFrobenius (  )  const

Definition at line 441 of file newmat8.cpp.

Referenced by NEWMAT::NormFrobenius().

Real NEWMAT::BaseMatrix::NormInfinity (  )  const

Definition at line 727 of file newmat7.cpp.

Referenced by NEWMAT::NormInfinity().

StackedMatrix NEWMAT::BaseMatrix::operator& ( const BaseMatrix bm  )  const

Definition at line 286 of file newmat6.cpp.

ScaledMatrix NEWMAT::BaseMatrix::operator* ( Real  f  )  const

Reimplemented in NEWMAT::InvertedMatrix.

Definition at line 304 of file newmat6.cpp.

MultipliedMatrix NEWMAT::BaseMatrix::operator* ( const BaseMatrix bm  )  const

Reimplemented in NEWMAT::InvertedMatrix.

Definition at line 280 of file newmat6.cpp.

ShiftedMatrix NEWMAT::BaseMatrix::operator+ ( Real  f  )  const

Definition at line 295 of file newmat6.cpp.

AddedMatrix NEWMAT::BaseMatrix::operator+ ( const BaseMatrix bm  )  const

Definition at line 271 of file newmat6.cpp.

NegatedMatrix NEWMAT::BaseMatrix::operator- (  )  const

Definition at line 319 of file newmat6.cpp.

ShiftedMatrix NEWMAT::BaseMatrix::operator- ( Real  f  )  const

Definition at line 313 of file newmat6.cpp.

SubtractedMatrix NEWMAT::BaseMatrix::operator- ( const BaseMatrix bm  )  const

Definition at line 292 of file newmat6.cpp.

ScaledMatrix NEWMAT::BaseMatrix::operator/ ( Real  f  )  const

Definition at line 307 of file newmat6.cpp.

ConcatenatedMatrix NEWMAT::BaseMatrix::operator| ( const BaseMatrix bm  )  const

Definition at line 283 of file newmat6.cpp.

ReversedMatrix NEWMAT::BaseMatrix::Reverse (  )  const

Definition at line 322 of file newmat6.cpp.

GetSubMatrix NEWMAT::BaseMatrix::Row ( int  first_row  )  const

Definition at line 45 of file submat.cpp.

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

GetSubMatrix NEWMAT::BaseMatrix::Rows ( int  first_row,
int  last_row 
) const

Definition at line 54 of file submat.cpp.

GetSubMatrix NEWMAT::BaseMatrix::SubMatrix ( int  first_row,
int  last_row,
int  first_col,
int  last_col 
) const

Definition at line 23 of file submat.cpp.

Referenced by NEWMAT::ApplyQuaternion().

Real NEWMAT::BaseMatrix::Sum (  )  const [virtual]
Real NEWMAT::BaseMatrix::SumAbsoluteValue (  )  const [virtual]
Real NEWMAT::BaseMatrix::SumSquare (  )  const [virtual]
GetSubMatrix NEWMAT::BaseMatrix::SymSubMatrix ( int  first_row,
int  last_row 
) const

Definition at line 35 of file submat.cpp.


Friends And Related Function Documentation

friend class AddedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 357 of file newmat.h.

Referenced by operator+().

friend class BandMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 353 of file newmat.h.

friend class ColedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 373 of file newmat.h.

Referenced by AsColumn().

friend class ColumnVector [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 347 of file newmat.h.

friend class ConcatenatedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 362 of file newmat.h.

Referenced by operator|().

friend class CroutMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 352 of file newmat.h.

friend class DiagedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 374 of file newmat.h.

Referenced by AsDiagonal().

friend class DiagonalMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 351 of file newmat.h.

friend class GetSubMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 376 of file newmat.h.

Referenced by Column(), Columns(), Row(), Rows(), SubMatrix(), and SymSubMatrix().

friend class InvertedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix, and NEWMAT::SolvedMatrix.

Definition at line 371 of file newmat.h.

Referenced by i().

friend class KPMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 361 of file newmat.h.

friend class LinearEquationSolver [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 378 of file newmat.h.

friend class LowerBandMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 354 of file newmat.h.

friend class LowerTriangularMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 350 of file newmat.h.

friend class MatedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 375 of file newmat.h.

Referenced by AsMatrix().

friend class Matrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 343 of file newmat.h.

friend class MultipliedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 358 of file newmat.h.

Referenced by operator*().

friend class NegatedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 370 of file newmat.h.

Referenced by operator-().

friend class NegShiftedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 366 of file newmat.h.

friend class nricMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 345 of file newmat.h.

friend class ReturnMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 377 of file newmat.h.

friend class ReversedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 369 of file newmat.h.

Referenced by Reverse().

friend class RowedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 372 of file newmat.h.

Referenced by AsRow().

friend class RowVector [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 346 of file newmat.h.

friend class ScaledMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 367 of file newmat.h.

Referenced by operator*(), and operator/().

friend class ShiftedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 365 of file newmat.h.

Referenced by operator+(), and operator-().

friend class SolvedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 364 of file newmat.h.

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

friend class SPMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 360 of file newmat.h.

friend class SquareMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 344 of file newmat.h.

friend class StackedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 363 of file newmat.h.

Referenced by operator&().

friend class SubtractedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 359 of file newmat.h.

Referenced by operator-().

friend class SymmetricBandMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 356 of file newmat.h.

friend class SymmetricMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 348 of file newmat.h.

friend class TransposedMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 368 of file newmat.h.

Referenced by t().

friend class UpperBandMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 355 of file newmat.h.

friend class UpperTriangularMatrix [friend]

Reimplemented in NEWMAT::GeneralMatrix.

Definition at line 349 of file newmat.h.


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

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