|
dune-istl
2.6-git
|
A Vector class to support different block types. More...
#include <dune/istl/multitypeblockvector.hh>

Public Types | |
| typedef MultiTypeBlockVector< Args... > | type |
| typedef double | field_type |
| The type used for scalars. More... | |
Public Member Functions | |
| int | count () |
| template<std::size_t index> | |
| std::tuple_element< index, tupleType >::type & | operator[] (const std::integral_constant< std::size_t, index > indexVariable) |
| Random-access operator. More... | |
| template<std::size_t index> | |
| const std::tuple_element< index, tupleType >::type & | operator[] (const std::integral_constant< std::size_t, index > indexVariable) const |
| Const random-access operator. More... | |
| template<typename T > | |
| void | operator= (const T &newval) |
| Assignment operator. More... | |
| void | operator+= (const type &newv) |
| void | operator-= (const type &newv) |
| void | operator*= (const int &w) |
| void | operator*= (const float &w) |
| void | operator*= (const double &w) |
| field_type | operator* (const type &newv) const |
| field_type | dot (const type &newv) const |
| FieldTraits< field_type >::real_type | two_norm2 () const |
| Compute the squared Euclidean norm. More... | |
| FieldTraits< field_type >::real_type | two_norm () const |
| Compute the Euclidean norm. More... | |
| FieldTraits< field_type >::real_type | infinity_norm () const |
| Compute the maximum norm. More... | |
| template<typename Ta > | |
| void | axpy (const Ta &a, const type &y) |
| Axpy operation on this vector (*this += a * y) More... | |
Static Public Member Functions | |
| static constexpr std::size_t | size () |
| Return the number of vector entries. More... | |
A Vector class to support different block types.
This vector class combines elements of different types known at compile-time.
1.8.13