#include <IpSymMatrix.hpp>
Public Member Functions | |
SmartPtr< const SymMatrixSpace > | OwnerSymMatrixSpace () const |
Constructor/Destructor | |
SymMatrix (const SymMatrixSpace *owner_space) | |
Constructor, taking the owner_space. | |
virtual | ~SymMatrix () |
Destructor. | |
Information about the size of the matrix | |
Index | Dim () const |
Dimension of the matrix (number of rows and columns). | |
Protected Member Functions | |
Overloaded methods from Matrix. Since the matrix is | |
symmetric, it is only necessary to implement the MultVectorImpl method in a class that inherits from this base class.
If the TransMultVectorImpl is called, this base class automatically calls MultVectorImpl instead. | |
virtual void | TransMultVectorImpl (Number alpha, const Vector &x, Number beta, Vector &y) const |
Matrix(transpose) vector multiply. |
SymMatrix | ( | const SymMatrixSpace * | owner_space | ) |
Constructor, taking the owner_space.
~SymMatrix | ( | ) | [virtual] |
Destructor.
Index Dim | ( | ) | const [inline] |
Dimension of the matrix (number of rows and columns).
Reimplemented in IdentityMatrix.
References SymMatrixSpace::Dim().
Referenced by DenseSymMatrix::AddMatrix(), DenseGenMatrix::ComputeCholeskyFactor(), DenseGenMatrix::ComputeEigenVectors(), DenseSymMatrix::FillIdentity(), TripletHelper::GetNumberEntries(), DenseSymMatrix::HasValidNumbersImpl(), DenseSymMatrix::HighRankUpdate(), DenseSymMatrix::HighRankUpdateTranspose(), SymTMatrix::MultVectorImpl(), SumSymMatrix::MultVectorImpl(), LowRankUpdateSymMatrix::MultVectorImpl(), DiagMatrix::MultVectorImpl(), DenseSymMatrix::MultVectorImpl(), SumSymMatrix::PrintImpl(), LowRankUpdateSymMatrix::PrintImpl(), DiagMatrix::PrintImpl(), DenseSymMatrix::PrintImpl(), and DenseSymMatrix::SpecialAddForLMSR1().
SmartPtr< const SymMatrixSpace > OwnerSymMatrixSpace | ( | ) | const |
Referenced by StdAugSystemSolver::MultiSolve().
void TransMultVectorImpl | ( | Number | alpha, | |
const Vector & | x, | |||
Number | beta, | |||
Vector & | y | |||
) | const [protected, virtual] |
Matrix(transpose) vector multiply.
Computes y = alpha * Matrix^T * x + beta * y
Implements Matrix.
References Matrix::MultVector().