|
dune-istl 2.10
|
A block-tridiagonal matrix. More...
#include <dune/istl/btdmatrix.hh>

Public Types | |
| using | field_type = typename Imp::BlockTraits<B>::field_type |
| export the type representing the field | |
| typedef B | block_type |
| export the type representing the components | |
| typedef A | allocator_type |
| export the allocator type | |
| typedef A::size_type | size_type |
| implement row_type with compressed vector | |
Public Member Functions | |
| BTDMatrix () | |
| Default constructor. | |
| BTDMatrix (size_type size) | |
| void | setSize (size_type size) |
| Resize the matrix. Invalidates the content! | |
| BTDMatrix & | operator= (const BTDMatrix &other) |
| assignment | |
| BTDMatrix & | operator= (const field_type &k) |
| assignment from scalar | |
| template<class V> | |
| void | solve (V &x, const V &rhs) const |
| Use the Thomas algorithm to solve the system Ax=b in O(n) time. | |
A block-tridiagonal matrix.
| typedef A Dune::BTDMatrix< B, A >::allocator_type |
export the allocator type
| typedef B Dune::BTDMatrix< B, A >::block_type |
export the type representing the components
| using Dune::BTDMatrix< B, A >::field_type = typename Imp::BlockTraits<B>::field_type |
export the type representing the field
| typedef A::size_type Dune::BTDMatrix< B, A >::size_type |
implement row_type with compressed vector
The type for the index access and the size
|
inline |
Default constructor.
|
inlineexplicit |
|
inline |
assignment
|
inline |
assignment from scalar
|
inline |
Resize the matrix. Invalidates the content!
|
inline |
Use the Thomas algorithm to solve the system Ax=b in O(n) time.
| ISTLError | if the matrix is singular |