#include <usermatrix.h>


Public Member Functions | |
| void | set_dim () |
| BlockMatrix (int n=0) | |
| (Standard-)Constructor for the dimension. | |
| BlockMatrix (const vector< ivector > &block_) | |
| Constructor for the block-structure. | |
| BlockMatrix (const vector< ivector > &block_, const vector< Pointer< UserMatrix > > &A_) | |
| Constructor for the block-structure and matrix-structure. | |
| BlockMatrix (Pointer< UserMatrix > A_) | |
| Constructor for one block with a simple block-structure. | |
| BlockMatrix (const BlockMatrix &b) | |
| Copy-Constructor. | |
| void | MultV (UserVector< double > &y, const UserVector< double > &x) const |
| Multiplies with a UserVector<double>. | |
| double | yAx (const UserVector< double > &y, const UserVector< double > &x) const |
| Multiplies from left and from right with UserVector<double>'s. | |
| void | MultV (IntervalVector &y, const IntervalVector &x) const |
| interval< double > | yAx (const IntervalVector &y, const IntervalVector &x) const |
| Pointer< UserMatrix > | operator[] (int k) const |
| Gives a pointer to the matrix of the k-th block. | |
| void | print (ostream &out) const |
| Prints out some information about this matrix. | |
Public Attributes | |
| vector< Pointer< UserMatrix > > | A |
| The matrices of each block. | |
| vector< ivector > | block |
| The block-structure. | |
Definition at line 656 of file usermatrix.h.
| BlockMatrix::BlockMatrix | ( | int | n = 0 |
) | [inline] |
(Standard-)Constructor for the dimension.
| n | The dimension, default is 0. |
Definition at line 680 of file usermatrix.h.
| BlockMatrix::BlockMatrix | ( | const vector< ivector > & | block_ | ) | [inline] |
Constructor for the block-structure.
| block_ | The block-structure. |
Definition at line 692 of file usermatrix.h.
| BlockMatrix::BlockMatrix | ( | const vector< ivector > & | block_, | |
| const vector< Pointer< UserMatrix > > & | A_ | |||
| ) | [inline] |
Constructor for the block-structure and matrix-structure.
| block_ | The block-structure to copy. | |
| A_ | The Pointer to the matrices of each block. |
Definition at line 705 of file usermatrix.h.
| BlockMatrix::BlockMatrix | ( | Pointer< UserMatrix > | A_ | ) | [inline] |
Constructor for one block with a simple block-structure.
| A_ | The pointer to the matrix for this block. |
Definition at line 717 of file usermatrix.h.
| BlockMatrix::BlockMatrix | ( | const BlockMatrix & | b | ) | [inline] |
Copy-Constructor.
| b | The BlockMatrix to copy. |
Definition at line 732 of file usermatrix.h.
| void BlockMatrix::set_dim | ( | ) | [inline] |
Definition at line 672 of file usermatrix.h.
| void BlockMatrix::MultV | ( | UserVector< double > & | y, | |
| const UserVector< double > & | x | |||
| ) | const [virtual] |
Multiplies with a UserVector<double>.
| y | The UserVector<double> to store the result (this*x) in. | |
| x | The UserVector<double> to multiply with. |
Implements UserMatrix.
| double BlockMatrix::yAx | ( | const UserVector< double > & | y, | |
| const UserVector< double > & | x | |||
| ) | const [virtual] |
Multiplies from left and from right with UserVector<double>'s.
| y | The UserVector<double> to multiply with from left. | |
| x | The UserVector<double> to multiply with from right. |
Reimplemented from UserMatrix.
| void BlockMatrix::MultV | ( | IntervalVector & | y, | |
| const IntervalVector & | x | |||
| ) | const [virtual] |
Implements IntervalCompliantMatrix.
| interval<double> BlockMatrix::yAx | ( | const IntervalVector & | y, | |
| const IntervalVector & | x | |||
| ) | const [virtual] |
Reimplemented from IntervalCompliantMatrix.
| Pointer<UserMatrix> BlockMatrix::operator[] | ( | int | k | ) | const [inline] |
Gives a pointer to the matrix of the k-th block.
| k | The block-nr. |
Definition at line 766 of file usermatrix.h.
| void BlockMatrix::print | ( | ostream & | out | ) | const [inline, virtual] |
Prints out some information about this matrix.
Prints the dimension, the block-structure and the matrix of each defined block.
| out | The ostream to print to. |
Reimplemented from UserMatrix.
Definition at line 774 of file usermatrix.h.
| vector<Pointer<UserMatrix> > BlockMatrix::A |
The matrices of each block.
Definition at line 666 of file usermatrix.h.
| vector<ivector> BlockMatrix::block |
The block-structure.
Definition at line 670 of file usermatrix.h.
1.6.1