ExtUserMatrix Class Reference

A UserMatrix with an (int,int)-operator to read elements of the matrix. More...

#include <usermatrix.h>

Inheritance diagram for ExtUserMatrix:
Inheritance graph
[legend]
Collaboration diagram for ExtUserMatrix:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

A UserMatrix with an (int,int)-operator to read elements of the matrix.

Definition at line 278 of file usermatrix.h.


Constructor & Destructor Documentation

ExtUserMatrix::ExtUserMatrix ( int  n = 0  )  [inline]

(Default-)Constructor.

Parameters:
n The dimension of the matrix, default is 0.

Definition at line 289 of file usermatrix.h.


Member Function Documentation

virtual double ExtUserMatrix::operator() ( int  row,
int  col 
) const [pure virtual]

Operator to read one element of the matrix.

Abstract.

Parameters:
row The row of the element to read.
col The col of the element to read.
Returns:
The element at index (row, col).

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.


The documentation for this class was generated from the following file:

Generated on 10 Mar 2013 for LaGO by  doxygen 1.6.1