A block-diagonal matrix.
More...
#include <dune/istl/bdmatrix.hh>
|
| 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
|
template<class B, class A = std::allocator<B>>
class Dune::BDMatrix< B, A >
A block-diagonal matrix.
- Todo
- It would be safer and more efficient to have a real implementation of a block-diagonal matrix and not just subclassing from BCRSMatrix. But that's quite a lot of work for that little advantage.
◆ allocator_type
template<class B, class A = std::allocator<B>>
export the allocator type
◆ block_type
template<class B, class A = std::allocator<B>>
export the type representing the components
◆ field_type
template<class B, class A = std::allocator<B>>
| using Dune::BDMatrix< B, A >::field_type = typename Imp::BlockTraits<B>::field_type |
export the type representing the field
◆ size_type
template<class B, class A = std::allocator<B>>
implement row_type with compressed vector
The type for the index access and the size
◆ BDMatrix() [1/3]
template<class B, class A = std::allocator<B>>
◆ BDMatrix() [2/3]
template<class B, class A = std::allocator<B>>
◆ BDMatrix() [3/3]
template<class B, class A = std::allocator<B>>
| Dune::BDMatrix< B, A >::BDMatrix |
( |
std::initializer_list< B > const & | list | ) |
|
|
inline |
Construct from a std::initializer_list.
◆ invert()
template<class B, class A = std::allocator<B>>
◆ operator=() [1/2]
template<class B, class A = std::allocator<B>>
◆ operator=() [2/2]
template<class B, class A = std::allocator<B>>
◆ setSize()
template<class B, class A = std::allocator<B>>
Resize the matrix. Invalidates the content!
◆ solve()
template<class B, class A = std::allocator<B>>
template<class V>
Solve the system Ax=b in O(n) time.
- Exceptions
-
The documentation for this class was generated from the following file: