Go to the source code of this file.
|
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 | IsZero (const BaseMatrix &A) |
|
OSSIM_DLL Matrix | CrossProduct (const Matrix &A, const Matrix &B) |
|
OSSIM_DLL ReturnMatrix | CrossProductRows (const Matrix &A, const Matrix &B) |
|
OSSIM_DLL ReturnMatrix | CrossProductColumns (const Matrix &A, const Matrix &B) |
|
OSSIM_DLL Real | DotProduct (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) |
|
◆ MatrixTypeUnSp
◆ NEWMAT_LIB
◆ CrossProduct()
Definition at line 964 of file newmat7.cpp.
967 int ac =
A.Ncols();
int ar =
A.Nrows();
972 if (bc != 3 || ar != 1 || br != 1)
980 if (ac != 1 || bc != 1 || ar != 3 || br != 3)
void CrossProductBody(Real *a, Real *b, Real *c)
◆ CrossProductColumns()
Definition at line 1009 of file newmat7.cpp.
1013 if (
A.Nrows() != 3 || B.
Nrows() != 3 ||
n != B.
Ncols())
1024 *c++ = *an * *bn2 - *an2 * *bn;
1025 *cn++ = *an2++ * *b - *a * *bn2++;
1026 *cn2++ = *a++ * *bn++ - *an++ * *b++;
1029 return C.ForReturn();
os2<< "> n<< " > nendobj n
◆ CrossProductRows()
Definition at line 988 of file newmat7.cpp.
1002 a += 3; b += 3; c += 3;
1006 return C.ForReturn();
os2<< "> n<< " > nendobj n
void CrossProductBody(Real *a, Real *b, Real *c)
◆ Determinant()
◆ DotProduct()
Definition at line 526 of file newmat8.cpp.
532 while (
n--) sum += *a++ * *b++;
os2<< "> n<< " > nendobj n
◆ IsZero() [1/2]
◆ IsZero() [2/2]
Definition at line 1773 of file newmat.h.
References A.
1773 {
return A.IsZero(); }
◆ LogDeterminant()
Definition at line 1751 of file newmat.h.
virtual LogAndSign LogDeterminant() const
◆ MatrixErrorNoSpace()
void MatrixErrorNoSpace |
( |
const void * |
| ) |
|
Definition at line 292 of file newmatex.cpp.
Referenced by BandLUMatrix::BandLUMatrix(), CroutMatrix::CroutMatrix(), RowedMatrix::Evaluate(), ColedMatrix::Evaluate(), DiagedMatrix::Evaluate(), MatedMatrix::Evaluate(), GeneralMatrix::GeneralMatrix(), Matrix::GetCol(), SymmetricMatrix::GetCol(), UpperTriangularMatrix::GetCol(), LowerTriangularMatrix::GetCol(), BandMatrix::GetCol(), SymmetricBandMatrix::GetCol(), SymmetricMatrix::GetRow(), SymmetricBandMatrix::GetRow(), GeneralMatrix::GetStore(), Matrix::Image(), SquareMatrix::Image(), nricMatrix::Image(), SymmetricMatrix::Image(), UpperTriangularMatrix::Image(), LowerTriangularMatrix::Image(), DiagonalMatrix::Image(), RowVector::Image(), ColumnVector::Image(), BandMatrix::Image(), UpperBandMatrix::Image(), LowerBandMatrix::Image(), SymmetricBandMatrix::Image(), IdentityMatrix::Image(), nricMatrix::MakeRowPointer(), GeneralMatrix::MakeSolver(), Matrix::MakeSolver(), BandMatrix::MakeSolver(), SymmetricBandMatrix::MakeSolver(), MatrixType::New(), GeneralMatrix::ReSize(), GeneralMatrix::reuse(), RowVector::Transpose(), and ColumnVector::Transpose().
◆ Maximum()
Definition at line 1766 of file newmat.h.
Referenced by SVD().
virtual Real Maximum() const
◆ MaximumAbsoluteValue()
Definition at line 1762 of file newmat.h.
virtual Real MaximumAbsoluteValue() const
◆ Minimum()
Definition at line 1767 of file newmat.h.
Referenced by SVD().
virtual Real Minimum() const
◆ MinimumAbsoluteValue()
Definition at line 1764 of file newmat.h.
virtual Real MinimumAbsoluteValue() const
◆ Norm1() [1/2]
◆ Norm1() [2/2]
◆ NormFrobenius()
Definition at line 1756 of file newmat.h.
Real NormFrobenius() const
◆ NormInfinity() [1/2]
Definition at line 1770 of file newmat.h.
Real NormInfinity() const
◆ NormInfinity() [2/2]
◆ operator!=() [1/2]
Definition at line 1723 of file newmat.h.
1724 {
return ! (
A==B); }
◆ operator!=() [2/2]
Definition at line 1725 of file newmat.h.
1726 {
return ! (
A==B); }
◆ operator<()
Definition at line 1734 of file newmat.h.
References A.
1735 {
A.IEQND();
return true; }
◆ operator<=()
Definition at line 1730 of file newmat.h.
References A.
1731 {
A.IEQND();
return true; }
◆ operator==() [1/2]
Definition at line 850 of file newmat7.cpp.
Referenced by MatrixBandWidth::operator!=().
852 Tracer tr(
"GeneralMatrix ==");
865 {
REPORT return A.IsEqual(B); }
869 if (AType == BType &&
A.BandWidth() == B.
BandWidth())
870 {
REPORT return RealEqual(
A.Store(),B.
Store(),
A.Storage()); }
virtual MatrixBandWidth BandWidth() const
bool CannotConvert() const
bool IsZero(const BaseMatrix &A)
virtual MatrixType Type() const =0
◆ operator==() [2/2]
Definition at line 812 of file newmat7.cpp.
814 Tracer tr(
"BaseMatrix ==");
820 {
REPORT gmA->tDelete();
return true; }
822 if ( gmA->Nrows() != gmB->
Nrows() || gmA->Ncols() != gmB->
Ncols() )
831 bool bx = gmA->IsEqual(*gmB);
832 gmA->tDelete(); gmB->
tDelete();
838 if (AType == BType && gmA->BandWidth() == gmB->
BandWidth())
841 bool bx = RealEqual(gmA->Store(),gmB->
Store(),gmA->Storage());
842 gmA->tDelete(); gmB->
tDelete();
virtual MatrixBandWidth BandWidth() const
GeneralMatrix * Evaluate(MatrixType mt=MatrixTypeUnSp)
bool CannotConvert() const
bool IsZero(const BaseMatrix &A)
virtual MatrixType Type() const =0
◆ operator>()
Definition at line 1736 of file newmat.h.
References A.
1737 {
A.IEQND();
return true; }
◆ operator>=()
Definition at line 1732 of file newmat.h.
References A.
1733 {
A.IEQND();
return true; }
◆ Sum()
◆ SumAbsoluteValue()
Definition at line 1758 of file newmat.h.
virtual Real SumAbsoluteValue() const
◆ SumSquare()
◆ Trace()