106 virtual void times(
double x);
112 virtual double &at(
int i,
int j);
113 virtual double at(
int i,
int j)
const;
119 const double &
val(
int i)
const {
return val_(i); }
120 const int &
row_ind(
int i)
const {
return rowind_(i); }
121 const int &
col_ptr(
int i)
const {
return colptr_(i); }
122 int dim(
int i)
const {
return dim_ [ i ]; }
129 double &
val(
int i) {
return val_(i); }
133 int size(
int i)
const {
return dim_ [ i ]; }
135 int base()
const {
return base_; }
141 double operator() (
int i,
int j)
const;
143 double &operator() (
int i,
int j);
146 #endif // symcompcol_h virtual ~SymCompCol()
Destructor.
Base class for all matrices stored in sparse format.
virtual bool isAntisymmetric() const
const int & col_ptr(int i) const
Class implementing an array of integers.
virtual const char * giveClassName() const
const double & val(int i) const
virtual bool canBeFactorized() const
Determines, whether receiver can be factorized.
Symmetric compressed column.
SparseMtrxType
Enumerative type used to identify the sparse matrix type.
Abstract base class allowing to control the way, how equations are assigned to individual DOFs...
virtual void timesT(const FloatArray &x, FloatArray &answer) const
Evaluates .
Implementation of symmetric sparse matrix stored using compressed column/row storage.
Class representing vector of real numbers.
virtual SparseMtrxType giveType() const
Sparse matrix type identification.
Implementation of matrix containing floating point numbers.
const int & row_ind(int i) const
Abstract base class representing the "problem" under consideration.
the oofem namespace is to define a context or scope in which all oofem names are defined.