7#ifndef __IPSYMMATRIX_HPP__
8#define __IPSYMMATRIX_HPP__
39 inline Index Dim()
const;
109 return MakeNewSymMatrix();
Templated class which stores one entry for the CachedResult class.
MatrixSpace base class, corresponding to the Matrix base class.
SymMatrixSpace base class, corresponding to the SymMatrix base class.
Index Dim() const
Accessor method for the dimension of the matrices in this matrix space.
SymMatrixSpace(Index dim)
Constructor, given the dimension (identical to the number of rows and columns).
SymMatrixSpace & operator=(const SymMatrixSpace &)
Default Assignment Operator.
SymMatrixSpace(const SymMatrixSpace &)
virtual Matrix * MakeNew() const
Pure virtual method for creating a new Matrix of the corresponding type.
SymMatrixSpace()
Default constructor.
virtual SymMatrix * MakeNewSymMatrix() const =0
Pure virtual method for creating a new matrix of this specific type.
virtual ~SymMatrixSpace()
Destructor.
This is the base class for all derived symmetric matrix types.
virtual ~SymMatrix()
Destructor.
SmartPtr< const SymMatrixSpace > OwnerSymMatrixSpace() const
const SymMatrixSpace * owner_space_
Copy of the owner space ptr as a SymMatrixSpace instead of a MatrixSpace.
SymMatrix(const SymMatrixSpace *owner_space)
Constructor, taking the owner_space.
virtual void ComputeColAMaxImpl(Vector &cols_norms, bool init) const
Implementation of ComputeColAMaxImpl, which calls ComputeRowAMaxImpl.
Index Dim() const
Dimension of the matrix (number of rows and columns)
virtual void TransMultVectorImpl(Number alpha, const Vector &x, Number beta, Vector &y) const
Implementation of TransMultVectorImpl, which calls MultVectorImpl.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
ipindex Index
Type of all indices of vectors, matrices etc.
ipnumber Number
Type of all numbers.