$search
The classes for matrices that can contain data are derived from this. More...
#include <newmat.h>
The classes for matrices that can contain data are derived from this.
Definition at line 447 of file newmat.h.
GeneralMatrix::GeneralMatrix | ( | ) | [protected] |
Definition at line 40 of file newmat4.cpp.
GeneralMatrix::GeneralMatrix | ( | ArrayLengthSpecifier | s | ) | [protected] |
Definition at line 43 of file newmat4.cpp.
GeneralMatrix::~GeneralMatrix | ( | ) | [virtual] |
Definition at line 168 of file newmat4.cpp.
void GeneralMatrix::Add | ( | Real | f | ) | [protected] |
Definition at line 334 of file newmat5.cpp.
void GeneralMatrix::Add | ( | GeneralMatrix * | gm1, | |
Real | f | |||
) | [protected] |
Definition at line 325 of file newmat5.cpp.
GeneralMatrix * GeneralMatrix::BorrowStore | ( | GeneralMatrix * | gmx, | |
MatrixType | mt | |||
) | [protected] |
Definition at line 868 of file newmat4.cpp.
void GeneralMatrix::CheckConversion | ( | const BaseMatrix & | ) | [protected] |
void GeneralMatrix::CheckStore | ( | ) | const |
Definition at line 1094 of file newmat4.cpp.
void GeneralMatrix::cleanup | ( | ) | [virtual] |
Reimplemented from BaseMatrix.
Reimplemented in nricMatrix, RowVector, ColumnVector, CroutMatrix, and BandLUMatrix.
Definition at line 1104 of file newmat4.cpp.
void GeneralMatrix::Eq | ( | const BaseMatrix & | X, | |
MatrixType | mt, | |||
bool | ldok | |||
) | [protected] |
Definition at line 946 of file newmat4.cpp.
void GeneralMatrix::Eq | ( | const GeneralMatrix & | X | ) | [protected] |
Definition at line 928 of file newmat4.cpp.
void GeneralMatrix::Eq | ( | const BaseMatrix & | X, | |
MatrixType | mt | |||
) | [protected] |
Definition at line 888 of file newmat4.cpp.
void GeneralMatrix::Eq2 | ( | const BaseMatrix & | X, | |
MatrixType | mt | |||
) | [protected] |
Definition at line 953 of file newmat4.cpp.
GeneralMatrix * GeneralMatrix::Evaluate | ( | MatrixType | mt = MatrixTypeUnSp |
) | [virtual] |
Implements BaseMatrix.
Reimplemented in CroutMatrix, and BandLUMatrix.
Definition at line 83 of file newmat5.cpp.
ReturnMatrix GeneralMatrix::for_return | ( | ) | const |
Definition at line 249 of file newmat4.cpp.
virtual void GeneralMatrix::GetCol | ( | MatrixColX & | ) | [pure virtual] |
Implemented in Matrix, SymmetricMatrix, UpperTriangularMatrix, LowerTriangularMatrix, DiagonalMatrix, RowVector, CroutMatrix, BandMatrix, SymmetricBandMatrix, BandLUMatrix, and IdentityMatrix.
virtual void GeneralMatrix::GetCol | ( | MatrixRowCol & | ) | [pure virtual] |
Implemented in Matrix, SymmetricMatrix, UpperTriangularMatrix, LowerTriangularMatrix, DiagonalMatrix, RowVector, CroutMatrix, BandMatrix, SymmetricBandMatrix, BandLUMatrix, and IdentityMatrix.
void GeneralMatrix::GetMatrix | ( | const GeneralMatrix * | gmx | ) | [protected] |
Definition at line 861 of file newmat4.cpp.
virtual void GeneralMatrix::GetRow | ( | MatrixRowCol & | ) | [pure virtual] |
Implemented in Matrix, SymmetricMatrix, UpperTriangularMatrix, LowerTriangularMatrix, DiagonalMatrix, CroutMatrix, BandMatrix, SymmetricBandMatrix, BandLUMatrix, and IdentityMatrix.
Real * GeneralMatrix::GetStore | ( | ) | [protected] |
Definition at line 838 of file newmat4.cpp.
GeneralMatrix * GeneralMatrix::Image | ( | ) | const [private, virtual] |
Reimplemented in Matrix, SquareMatrix, nricMatrix, SymmetricMatrix, UpperTriangularMatrix, LowerTriangularMatrix, DiagonalMatrix, RowVector, ColumnVector, CroutMatrix, BandMatrix, UpperBandMatrix, LowerBandMatrix, SymmetricBandMatrix, BandLUMatrix, and IdentityMatrix.
Definition at line 1068 of file newmat4.cpp.
void GeneralMatrix::Inject | ( | const GeneralMatrix & | GM | ) | [inline] |
void GeneralMatrix::inject | ( | const GeneralMatrix & | X | ) |
Definition at line 965 of file newmat4.cpp.
bool GeneralMatrix::is_zero | ( | ) | const |
Definition at line 865 of file newmat7.cpp.
bool GeneralMatrix::IsEqual | ( | const GeneralMatrix & | A | ) | const [virtual] |
Reimplemented in CroutMatrix, and BandLUMatrix.
Definition at line 892 of file newmat7.cpp.
LogAndSign GeneralMatrix::log_determinant | ( | ) | const [virtual] |
Reimplemented from BaseMatrix.
Reimplemented in UpperTriangularMatrix, LowerTriangularMatrix, DiagonalMatrix, CroutMatrix, BandMatrix, UpperBandMatrix, LowerBandMatrix, SymmetricBandMatrix, BandLUMatrix, and IdentityMatrix.
Definition at line 696 of file newmat8.cpp.
GeneralMatrix * GeneralMatrix::MakeSolver | ( | ) | [virtual] |
Reimplemented in Matrix, UpperTriangularMatrix, LowerTriangularMatrix, DiagonalMatrix, CroutMatrix, BandMatrix, UpperBandMatrix, LowerBandMatrix, SymmetricBandMatrix, BandLUMatrix, and IdentityMatrix.
Definition at line 28 of file newmat7.cpp.
Real GeneralMatrix::maximum | ( | ) | const [virtual] |
Reimplemented from BaseMatrix.
Reimplemented in BandMatrix, and SymmetricBandMatrix.
Definition at line 258 of file newmat8.cpp.
Real GeneralMatrix::maximum1 | ( | int & | i | ) | const [virtual] |
Reimplemented from BaseMatrix.
Definition at line 267 of file newmat8.cpp.
Real GeneralMatrix::maximum2 | ( | int & | i, | |
int & | j | |||
) | const [virtual] |
Real GeneralMatrix::maximum_absolute_value | ( | ) | const [virtual] |
Reimplemented from BaseMatrix.
Reimplemented in BandMatrix, and SymmetricBandMatrix.
Definition at line 218 of file newmat8.cpp.
Real GeneralMatrix::maximum_absolute_value1 | ( | int & | i | ) | const [virtual] |
Reimplemented from BaseMatrix.
Definition at line 227 of file newmat8.cpp.
Real GeneralMatrix::maximum_absolute_value2 | ( | int & | i, | |
int & | j | |||
) | const [virtual] |
virtual void GeneralMatrix::MiniCleanUp | ( | ) | [inline, protected, virtual] |
Reimplemented in nricMatrix, RowVector, ColumnVector, CroutMatrix, and BandLUMatrix.
Real GeneralMatrix::minimum | ( | ) | const [virtual] |
Reimplemented from BaseMatrix.
Reimplemented in BandMatrix, and SymmetricBandMatrix.
Definition at line 277 of file newmat8.cpp.
Real GeneralMatrix::minimum1 | ( | int & | i | ) | const [virtual] |
Reimplemented from BaseMatrix.
Definition at line 286 of file newmat8.cpp.
Real GeneralMatrix::minimum2 | ( | int & | i, | |
int & | j | |||
) | const [virtual] |
Real GeneralMatrix::minimum_absolute_value | ( | ) | const [virtual] |
Reimplemented from BaseMatrix.
Reimplemented in BandMatrix, and SymmetricBandMatrix.
Definition at line 238 of file newmat8.cpp.
Real GeneralMatrix::minimum_absolute_value1 | ( | int & | i | ) | const [virtual] |
Reimplemented from BaseMatrix.
Definition at line 247 of file newmat8.cpp.
Real GeneralMatrix::minimum_absolute_value2 | ( | int & | i, | |
int & | j | |||
) | const [virtual] |
void GeneralMatrix::MinusEqual | ( | Real | f | ) | [protected] |
void GeneralMatrix::MinusEqual | ( | const GeneralMatrix & | gm | ) | [protected] |
Definition at line 183 of file newmat7.cpp.
void GeneralMatrix::Multiply | ( | Real | f | ) | [protected] |
Definition at line 391 of file newmat5.cpp.
void GeneralMatrix::Multiply | ( | GeneralMatrix * | gm1, | |
Real | f | |||
) | [protected] |
Definition at line 382 of file newmat5.cpp.
void GeneralMatrix::NegAdd | ( | Real | f | ) | [protected] |
Definition at line 351 of file newmat5.cpp.
void GeneralMatrix::NegAdd | ( | GeneralMatrix * | gm1, | |
Real | f | |||
) | [protected] |
Definition at line 342 of file newmat5.cpp.
void GeneralMatrix::Negate | ( | ) | [protected] |
Definition at line 373 of file newmat5.cpp.
void GeneralMatrix::Negate | ( | GeneralMatrix * | gm1 | ) | [protected] |
Definition at line 363 of file newmat5.cpp.
void GeneralMatrix::NextCol | ( | MatrixColX & | mrc | ) | [virtual] |
Reimplemented in Matrix, DiagonalMatrix, RowVector, and IdentityMatrix.
Definition at line 103 of file newmat3.cpp.
void GeneralMatrix::NextCol | ( | MatrixRowCol & | mrc | ) | [virtual] |
Reimplemented in Matrix, DiagonalMatrix, RowVector, and IdentityMatrix.
Definition at line 94 of file newmat3.cpp.
void GeneralMatrix::NextRow | ( | MatrixRowCol & | mrc | ) | [virtual] |
Reimplemented in Matrix, UpperTriangularMatrix, LowerTriangularMatrix, DiagonalMatrix, BandMatrix, and IdentityMatrix.
Definition at line 85 of file newmat3.cpp.
GeneralMatrix::operator ReturnMatrix | ( | ) | const |
Definition at line 240 of file newmat4.cpp.
void GeneralMatrix::operator&= | ( | const BaseMatrix & | X | ) |
Definition at line 544 of file newmat6.cpp.
void GeneralMatrix::operator*= | ( | Real | r | ) |
Definition at line 566 of file newmat6.cpp.
void GeneralMatrix::operator*= | ( | const BaseMatrix & | X | ) |
Definition at line 518 of file newmat6.cpp.
void GeneralMatrix::operator+= | ( | Real | r | ) |
Reimplemented in Matrix, SquareMatrix, nricMatrix, SymmetricMatrix, UpperTriangularMatrix, LowerTriangularMatrix, DiagonalMatrix, RowVector, and ColumnVector.
Definition at line 557 of file newmat6.cpp.
void GeneralMatrix::operator+= | ( | const BaseMatrix & | X | ) |
Definition at line 492 of file newmat6.cpp.
void GeneralMatrix::operator-= | ( | Real | r | ) | [inline] |
Reimplemented in Matrix, SquareMatrix, nricMatrix, SymmetricMatrix, UpperTriangularMatrix, LowerTriangularMatrix, DiagonalMatrix, RowVector, and ColumnVector.
void GeneralMatrix::operator-= | ( | const BaseMatrix & | X | ) |
Definition at line 505 of file newmat6.cpp.
MatrixInput GeneralMatrix::operator<< | ( | float | f | ) |
Reimplemented in BandMatrix.
Definition at line 458 of file newmat5.cpp.
MatrixInput GeneralMatrix::operator<< | ( | double | f | ) |
Reimplemented in BandMatrix.
Definition at line 415 of file newmat5.cpp.
void GeneralMatrix::operator<< | ( | const BaseMatrix & | X | ) | [inline] |
Reimplemented in nricMatrix, BandMatrix, and SymmetricBandMatrix.
void GeneralMatrix::operator<< | ( | const int * | r | ) |
Reimplemented in BandMatrix, and SymmetricBandMatrix.
Definition at line 456 of file newmat6.cpp.
void GeneralMatrix::operator<< | ( | const float * | r | ) |
Reimplemented in BandMatrix, and SymmetricBandMatrix.
Definition at line 448 of file newmat6.cpp.
void GeneralMatrix::operator<< | ( | const double * | r | ) |
Reimplemented in BandMatrix, and SymmetricBandMatrix.
Definition at line 440 of file newmat6.cpp.
void GeneralMatrix::operator= | ( | Real | f | ) | [protected] |
Reimplemented in Matrix, SquareMatrix, nricMatrix, SymmetricMatrix, UpperTriangularMatrix, LowerTriangularMatrix, DiagonalMatrix, RowVector, ColumnVector, BandMatrix, UpperBandMatrix, LowerBandMatrix, SymmetricBandMatrix, and IdentityMatrix.
Definition at line 346 of file newmat6.cpp.
void GeneralMatrix::operator|= | ( | const BaseMatrix & | X | ) |
Definition at line 531 of file newmat6.cpp.
void GeneralMatrix::PlusEqual | ( | Real | f | ) | [protected] |
void GeneralMatrix::PlusEqual | ( | const GeneralMatrix & | gm | ) | [protected] |
Definition at line 153 of file newmat7.cpp.
virtual void GeneralMatrix::ReSize | ( | const GeneralMatrix & | A | ) | [inline, virtual] |
void GeneralMatrix::resize | ( | const GeneralMatrix & | A | ) | [virtual] |
Reimplemented in Matrix, SquareMatrix, nricMatrix, SymmetricMatrix, UpperTriangularMatrix, LowerTriangularMatrix, DiagonalMatrix, RowVector, ColumnVector, BandMatrix, UpperBandMatrix, LowerBandMatrix, SymmetricBandMatrix, and IdentityMatrix.
Definition at line 423 of file newmat4.cpp.
void GeneralMatrix::resize | ( | int | nr, | |
int | nc, | |||
int | s | |||
) | [protected] |
Reimplemented in BandMatrix, UpperBandMatrix, and LowerBandMatrix.
Definition at line 272 of file newmat4.cpp.
virtual void GeneralMatrix::RestoreCol | ( | MatrixColX & | ) | [inline, virtual] |
Reimplemented in Matrix, SymmetricMatrix, UpperTriangularMatrix, LowerTriangularMatrix, RowVector, BandMatrix, and SymmetricBandMatrix.
virtual void GeneralMatrix::RestoreCol | ( | MatrixRowCol & | ) | [inline, virtual] |
Reimplemented in Matrix, SymmetricMatrix, UpperTriangularMatrix, LowerTriangularMatrix, RowVector, BandMatrix, and SymmetricBandMatrix.
virtual void GeneralMatrix::RestoreRow | ( | MatrixRowCol & | ) | [inline, virtual] |
bool GeneralMatrix::reuse | ( | ) |
Definition at line 819 of file newmat4.cpp.
void GeneralMatrix::ReverseElements | ( | GeneralMatrix * | gm | ) | [protected] |
Definition at line 535 of file newmat5.cpp.
void GeneralMatrix::ReverseElements | ( | ) | [protected] |
Definition at line 543 of file newmat5.cpp.
int GeneralMatrix::search | ( | const BaseMatrix * | s | ) | const [protected, virtual] |
Implements BaseMatrix.
Definition at line 635 of file newmat4.cpp.
virtual void GeneralMatrix::SetParameters | ( | const GeneralMatrix * | ) | [inline, virtual] |
Reimplemented in BandMatrix, and SymmetricBandMatrix.
GeneralMatrix::SimpleAddOK | ( | const GeneralMatrix * | gm | ) | [inline, protected, virtual] |
Can we add two matrices with simple vector add. SimpleAddOK shows when we can add two matrices by a simple vector add and when we can add one matrix into another
gm must be the same type as *this
Also applies to subtract; for SP this will still be valid if we swap 1 and 2
For types Matrix, DiagonalMatrix, UpperTriangularMatrix, LowerTriangularMatrix, SymmetricMatrix etc return 0. For band matrices we will need to check bandwidths.
Reimplemented in BandMatrix, and SymmetricBandMatrix.
virtual void GeneralMatrix::Solver | ( | MatrixColX & | , | |
const MatrixColX & | ||||
) | [inline, virtual] |
Reimplemented in UpperTriangularMatrix, LowerTriangularMatrix, DiagonalMatrix, CroutMatrix, UpperBandMatrix, LowerBandMatrix, BandLUMatrix, and IdentityMatrix.
Real GeneralMatrix::sum | ( | ) | const [virtual] |
Reimplemented from BaseMatrix.
Reimplemented in SymmetricMatrix, BandMatrix, SymmetricBandMatrix, and IdentityMatrix.
Definition at line 172 of file newmat8.cpp.
Real GeneralMatrix::sum_absolute_value | ( | ) | const [virtual] |
Reimplemented from BaseMatrix.
Reimplemented in SymmetricMatrix, BandMatrix, SymmetricBandMatrix, and IdentityMatrix.
Definition at line 164 of file newmat8.cpp.
Real GeneralMatrix::sum_square | ( | ) | const [virtual] |
Reimplemented from BaseMatrix.
Reimplemented in SymmetricMatrix, BandMatrix, SymmetricBandMatrix, and IdentityMatrix.
Definition at line 156 of file newmat8.cpp.
void GeneralMatrix::swap | ( | GeneralMatrix & | gm | ) | [protected] |
Definition at line 1264 of file newmat4.cpp.
void GeneralMatrix::tDelete | ( | ) |
Definition at line 786 of file newmat4.cpp.
GeneralMatrix * GeneralMatrix::Transpose | ( | TransposedMatrix * | tm, | |
MatrixType | mt | |||
) | [protected, virtual] |
Reimplemented in SymmetricMatrix, DiagonalMatrix, RowVector, ColumnVector, SymmetricBandMatrix, and IdentityMatrix.
Definition at line 31 of file newmat5.cpp.
MatrixType GeneralMatrix::Type | ( | ) | const [inline] |
virtual MatrixType GeneralMatrix::type | ( | ) | const [pure virtual] |
friend class AddedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class BandMatrix [friend] |
Reimplemented from BaseMatrix.
friend class BaseMatrix [friend] |
friend class ColedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class ColumnVector [friend] |
Reimplemented from BaseMatrix.
friend class ConcatenatedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class CroutMatrix [friend] |
Reimplemented from BaseMatrix.
friend class DiagedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class DiagonalMatrix [friend] |
Reimplemented from BaseMatrix.
friend class GenericMatrix [friend] |
Reimplemented from BaseMatrix.
friend class GetSubMatrix [friend] |
Reimplemented from BaseMatrix.
friend class InvertedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class KPMatrix [friend] |
Reimplemented from BaseMatrix.
friend class LinearEquationSolver [friend] |
Reimplemented from BaseMatrix.
friend class LowerBandMatrix [friend] |
Reimplemented from BaseMatrix.
friend class LowerTriangularMatrix [friend] |
Reimplemented from BaseMatrix.
friend class MatedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class Matrix [friend] |
Reimplemented from BaseMatrix.
friend class MultipliedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class NegatedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class NegShiftedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class nricMatrix [friend] |
Reimplemented from BaseMatrix.
friend class ReturnMatrix [friend] |
Reimplemented from BaseMatrix.
friend class ReversedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class RowedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class RowVector [friend] |
Reimplemented from BaseMatrix.
friend class ScaledMatrix [friend] |
Reimplemented from BaseMatrix.
friend class ShiftedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class SolvedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class SPMatrix [friend] |
Reimplemented from BaseMatrix.
friend class SquareMatrix [friend] |
Reimplemented from BaseMatrix.
friend class StackedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class SubtractedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class SymmetricBandMatrix [friend] |
Reimplemented from BaseMatrix.
friend class SymmetricMatrix [friend] |
Reimplemented from BaseMatrix.
friend class TransposedMatrix [friend] |
Reimplemented from BaseMatrix.
friend class UpperBandMatrix [friend] |
Reimplemented from BaseMatrix.
friend class UpperTriangularMatrix [friend] |
Reimplemented from BaseMatrix.
int GeneralMatrix::ncols_val [protected] |
int GeneralMatrix::nrows_val [protected] |
int GeneralMatrix::storage [protected] |
Real* GeneralMatrix::store [protected] |
int GeneralMatrix::tag_val [protected] |