78 #define _IFT_CompCol_Name "csc" 116 virtual void times(
double x);
122 virtual double &at(
int i,
int j);
123 virtual double at(
int i,
int j)
const;
124 virtual void toFloatMatrix(
FloatMatrix &answer)
const;
125 virtual void printYourself()
const;
138 const double &
val(
int i)
const {
return val_(i); }
139 const int &
row_ind(
int i)
const {
return rowind_(i); }
140 const int &
col_ptr(
int i)
const {
return colptr_(i); }
141 int dim(
int i)
const {
return dim_ [ i ]; }
148 double &
val(
int i) {
return val_(i); }
152 int size(
int i)
const {
return dim_ [ i ]; }
154 int base()
const {
return base_; }
160 double operator() (
int i,
int j)
const;
162 double &operator() (
int i,
int j);
IntArray & giveRowIndex()
Base class for all matrices stored in sparse format.
virtual const char * giveClassName() const
const int & row_ind(int i) const
virtual ~CompCol()
Destructor.
virtual bool canBeFactorized() const
Determines, whether receiver can be factorized.
const int & col_ptr(int i) const
Class implementing an array of integers.
FloatArray & giveValues()
virtual bool isAsymmetric() const
Returns true if asymmetric.
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 SparseMtrxType giveType() const
Sparse matrix type identification.
Class representing vector of real numbers.
Implementation of matrix containing floating point numbers.
const double & val(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.
const int giveNumberOfNonzeros()