A UserMatrix with an (int,int)-operator to read elements of the matrix. More...
#include <usermatrix.h>
Public Member Functions | |
ExtUserMatrix (int n=0) | |
(Default-)Constructor. | |
virtual double | operator() (int row, int col) const =0 |
Operator to read one element of the matrix. | |
virtual interval< double > | xAx_2bx (const IntervalVector &x, const UserVector< double > &b) const |
Computes sum of xAx and 2b*x for a vector b. |
A UserMatrix with an (int,int)-operator to read elements of the matrix.
Definition at line 278 of file usermatrix.h.
ExtUserMatrix::ExtUserMatrix | ( | int | n = 0 |
) | [inline] |
(Default-)Constructor.
n | The dimension of the matrix, default is 0. |
Definition at line 289 of file usermatrix.h.
virtual double ExtUserMatrix::operator() | ( | int | row, | |
int | col | |||
) | const [pure virtual] |
Operator to read one element of the matrix.
Abstract.
row | The row of the element to read. | |
col | The col of the element to read. |
Implemented in DiagMatrix, DenseMatrix, and SparseMatrix2.
virtual interval<double> ExtUserMatrix::xAx_2bx | ( | const IntervalVector & | x, | |
const UserVector< double > & | b | |||
) | const [inline, virtual] |
Computes sum of xAx and 2b*x for a vector b.
Reimplemented in SparseMatrix2.
Definition at line 308 of file usermatrix.h.