NEWMAT::BaseMatrix Class Reference
#include <newmat.h>
Detailed Description
Definition at line 275 of file newmat.h.
List of all members.
Public Member Functions |
virtual GeneralMatrix * | Evaluate (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
MatedMatrix NEWMAT::BaseMatrix::AsMatrix |
( |
int |
nrx, |
|
|
int |
ncx | |
|
) |
| | const |
Real NEWMAT::BaseMatrix::AsScalar |
( |
|
) |
const |
Reimplemented in NEWMAT::UpperTriangularMatrix, NEWMAT::LowerTriangularMatrix, NEWMAT::DiagonalMatrix, NEWMAT::BandMatrix, NEWMAT::SymmetricBandMatrix, NEWMAT::IdentityMatrix, NEWMAT::GenericMatrix, NEWMAT::MultipliedMatrix, NEWMAT::AddedMatrix, NEWMAT::SPMatrix, NEWMAT::KPMatrix, NEWMAT::ConcatenatedMatrix, NEWMAT::SolvedMatrix, NEWMAT::ScaledMatrix, NEWMAT::NegatedMatrix, NEWMAT::TransposedMatrix, NEWMAT::InvertedMatrix, NEWMAT::RowedMatrix, NEWMAT::ColedMatrix, NEWMAT::DiagedMatrix, NEWMAT::MatedMatrix, NEWMAT::ReturnMatrix, and NEWMAT::GetSubMatrix.
Definition at line 444 of file newmat4.cpp.
Referenced by NEWMAT::GetSubMatrix::BandWidth(), NEWMAT::ReturnMatrix::BandWidth(), NEWMAT::TransposedMatrix::BandWidth(), NEWMAT::NegatedMatrix::BandWidth(), NEWMAT::ScaledMatrix::BandWidth(), NEWMAT::SolvedMatrix::BandWidth(), NEWMAT::MultipliedMatrix::BandWidth(), NEWMAT::KPMatrix::BandWidth(), NEWMAT::SPMatrix::BandWidth(), NEWMAT::AddedMatrix::BandWidth(), NEWMAT::GenericMatrix::BandWidth(), NEWMAT::MatrixDetails(), NEWMAT::MatrixType::New(), NEWMAT::operator==(), and NEWMAT::SymmetricBandMatrix::ReSize().
virtual void NEWMAT::BaseMatrix::CleanUp |
( |
|
) |
[virtual] |
GetSubMatrix NEWMAT::BaseMatrix::Column |
( |
int |
first_col |
) |
const |
GetSubMatrix NEWMAT::BaseMatrix::Columns |
( |
int |
first_col, |
|
|
int |
last_col | |
|
) |
| | const |
Real NEWMAT::BaseMatrix::Determinant |
( |
|
) |
const |
Implemented in NEWMAT::GeneralMatrix, NEWMAT::GenericMatrix, NEWMAT::MultipliedMatrix, NEWMAT::AddedMatrix, NEWMAT::SPMatrix, NEWMAT::KPMatrix, NEWMAT::ConcatenatedMatrix, NEWMAT::StackedMatrix, NEWMAT::SolvedMatrix, NEWMAT::SubtractedMatrix, NEWMAT::ShiftedMatrix, NEWMAT::NegShiftedMatrix, NEWMAT::ScaledMatrix, NEWMAT::NegatedMatrix, NEWMAT::TransposedMatrix, NEWMAT::ReversedMatrix, NEWMAT::InvertedMatrix, NEWMAT::RowedMatrix, NEWMAT::ColedMatrix, NEWMAT::DiagedMatrix, NEWMAT::MatedMatrix, NEWMAT::ReturnMatrix, NEWMAT::GetSubMatrix, and NEWMAT::LinearEquationSolver.
Referenced by AsScalar(), Determinant(), LogDeterminant(), Maximum(), Maximum1(), Maximum2(), MaximumAbsoluteValue(), MaximumAbsoluteValue1(), MaximumAbsoluteValue2(), Minimum(), Minimum1(), Minimum2(), MinimumAbsoluteValue(), MinimumAbsoluteValue1(), MinimumAbsoluteValue2(), Norm1(), NormInfinity(), NEWMAT::GetSubMatrix::SetUpLHS(), Sum(), SumAbsoluteValue(), SumSquare(), and Trace().
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 |
LogAndSign NEWMAT::BaseMatrix::LogDeterminant |
( |
|
) |
const [virtual] |
Reimplemented in NEWMAT::GeneralMatrix, NEWMAT::UpperTriangularMatrix, NEWMAT::LowerTriangularMatrix, NEWMAT::DiagonalMatrix, NEWMAT::CroutMatrix, NEWMAT::BandMatrix, NEWMAT::UpperBandMatrix, NEWMAT::LowerBandMatrix, NEWMAT::SymmetricBandMatrix, NEWMAT::BandLUMatrix, and NEWMAT::IdentityMatrix.
Definition at line 684 of file newmat8.cpp.
Referenced by NEWMAT::LogDeterminant().
Real NEWMAT::BaseMatrix::Maximum |
( |
|
) |
const [virtual] |
Real NEWMAT::BaseMatrix::Maximum1 |
( |
int & |
i |
) |
const [virtual] |
Real NEWMAT::BaseMatrix::Maximum2 |
( |
int & |
i, |
|
|
int & |
j | |
|
) |
| | const [virtual] |
Real NEWMAT::BaseMatrix::MaximumAbsoluteValue |
( |
|
) |
const [virtual] |
Real NEWMAT::BaseMatrix::MaximumAbsoluteValue1 |
( |
int & |
i |
) |
const [virtual] |
Real NEWMAT::BaseMatrix::MaximumAbsoluteValue2 |
( |
int & |
i, |
|
|
int & |
j | |
|
) |
| | const [virtual] |
Real NEWMAT::BaseMatrix::Minimum |
( |
|
) |
const [virtual] |
Real NEWMAT::BaseMatrix::Minimum1 |
( |
int & |
i |
) |
const [virtual] |
Real NEWMAT::BaseMatrix::Minimum2 |
( |
int & |
i, |
|
|
int & |
j | |
|
) |
| | const [virtual] |
Real NEWMAT::BaseMatrix::MinimumAbsoluteValue |
( |
|
) |
const [virtual] |
Real NEWMAT::BaseMatrix::MinimumAbsoluteValue1 |
( |
int & |
i |
) |
const [virtual] |
Real NEWMAT::BaseMatrix::MinimumAbsoluteValue2 |
( |
int & |
i, |
|
|
int & |
j | |
|
) |
| | const [virtual] |
Real NEWMAT::BaseMatrix::Norm1 |
( |
|
) |
const |
Real NEWMAT::BaseMatrix::NormFrobenius |
( |
|
) |
const |
Real NEWMAT::BaseMatrix::NormInfinity |
( |
|
) |
const |
GetSubMatrix NEWMAT::BaseMatrix::Row |
( |
int |
first_row |
) |
const |
GetSubMatrix NEWMAT::BaseMatrix::Rows |
( |
int |
first_row, |
|
|
int |
last_row | |
|
) |
| | const |
virtual int NEWMAT::BaseMatrix::search |
( |
const BaseMatrix * |
|
) |
const [protected, pure virtual] |
Implemented in NEWMAT::GeneralMatrix, NEWMAT::GenericMatrix, NEWMAT::MultipliedMatrix, NEWMAT::ShiftedMatrix, NEWMAT::NegatedMatrix, NEWMAT::ReturnMatrix, and NEWMAT::LinearEquationSolver.
Referenced by NEWMAT::GeneralMatrix::Eq(), NEWMAT::GenericMatrix::operator=(), NEWMAT::NegatedMatrix::search(), NEWMAT::ShiftedMatrix::search(), and NEWMAT::MultipliedMatrix::search().
GetSubMatrix NEWMAT::BaseMatrix::SubMatrix |
( |
int |
first_row, |
|
|
int |
last_row, |
|
|
int |
first_col, |
|
|
int |
last_col | |
|
) |
| | const |
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 |
Real NEWMAT::BaseMatrix::Trace |
( |
|
) |
const [virtual] |
Friends And Related Function Documentation
Reimplemented in NEWMAT::GeneralMatrix, NEWMAT::MultipliedMatrix, NEWMAT::AddedMatrix, NEWMAT::SPMatrix, NEWMAT::KPMatrix, NEWMAT::ConcatenatedMatrix, NEWMAT::StackedMatrix, NEWMAT::SubtractedMatrix, NEWMAT::ShiftedMatrix, NEWMAT::NegShiftedMatrix, and NEWMAT::ScaledMatrix.
Definition at line 379 of file newmat.h.
The documentation for this class was generated from the following files:
|