7 #ifndef __IPSYMMATRIX_HPP__
8 #define __IPSYMMATRIX_HPP__
39 inline Index Dim()
const;
61 MultVector(alpha, x, beta, y);
73 ComputeRowAMaxImpl(cols_norms, init);
105 virtual SymMatrix* MakeNewSymMatrix()
const = 0;
109 return MakeNewSymMatrix();
152 owner_space_(owner_space)
SmartPtr< const SymMatrixSpace > OwnerSymMatrixSpace() const
SymMatrixSpace(Index dim)
Constructor, given the dimension (identical to the number of rows and columns).
virtual Matrix * MakeNew() const
Pure virtual method for creating a new Matrix of the corresponding type.
double Number
Type of all numbers.
SymMatrix(const SymMatrixSpace *owner_space)
Constructor, taking the owner_space.
This is the base class for all derived symmetric matrix types.
Template class for Smart Pointers.
virtual void ComputeColAMaxImpl(Vector &cols_norms, bool init) const
Implementation of ComputeColAMaxImpl, which calls ComputeRowAMaxImpl.
const SymMatrixSpace * owner_space_
Copy of the owner space ptr as a SymMatrixSpace instead of a MatrixSpace.
MatrixSpace base class, corresponding to the Matrix base class.
Index Dim() const
Accessor method for the dimension of the matrices in this matrix space.
int Index
Type of all indices of vectors, matrices etc.
virtual ~SymMatrixSpace()
Destructor.
SymMatrixSpace base class, corresponding to the SymMatrix base class.
virtual ~SymMatrix()
Destructor.
virtual void TransMultVectorImpl(Number alpha, const Vector &x, Number beta, Vector &y) const
Implementation of TransMultVectorImpl, which calls MultVectorImpl.
Index Dim() const
Dimension of the matrix (number of rows and columns)