|
| | DynamicReferenceVector (const A &a=A()) |
| | Constructor with uninitialized vector.
|
| |
| | DynamicReferenceVector (size_type n, const A &a=A()) |
| | Constructor with uninitialized vector of size n.
|
| |
| | DynamicReferenceVector (const ThisType &other) |
| | Copy constructor.
|
| |
| | DynamicReferenceVector (ThisType &&other) |
| | Move constructor.
|
| |
| ThisType & | operator= (const value_type &k) |
| |
| template<class V > |
| ThisType & | operator= (const DenseVector< V > &other) |
| |
| ThisType & | operator= (const ThisType &other) |
| |
| ThisType & | operator= (ThisType &&other) |
| |
| size_type | capacity () const |
| |
| void | resize (size_type n) |
| |
| void | reserve (size_type n) |
| |
| void | bind (size_type i, K &u) |
| | Bind i-th entry to a reference.
|
| |
| void | unbind (size_type i) |
| | Unbind i-th entry.
|
| |
| size_type | size () const |
| |
| value_type & | operator[] (size_type i) |
| |
| const value_type & | operator[] (size_type i) const |
| |
| void | clear () |
| |
| constexpr value_type & | front () |
| |
| constexpr const value_type & | front () const |
| |
| constexpr value_type & | back () |
| |
| constexpr const value_type & | back () const |
| |
| constexpr bool | empty () const |
| |
| constexpr Iterator | begin () |
| |
| constexpr ConstIterator | begin () const |
| |
| constexpr Iterator | end () |
| |
| constexpr ConstIterator | end () const |
| |
| constexpr Iterator | beforeEnd () |
| |
| constexpr ConstIterator | beforeEnd () const |
| |
| constexpr Iterator | beforeBegin () |
| |
| constexpr ConstIterator | beforeBegin () const |
| |
| constexpr Iterator | find (size_type i) |
| |
| constexpr ConstIterator | find (size_type i) const |
| |
| constexpr derived_type & | operator+= (const DenseVector< Other > &x) |
| |
| constexpr std::enable_if< std::is_convertible< ValueType, value_type >::value, derived_type >::type & | operator+= (const ValueType &kk) |
| |
| constexpr derived_type & | operator-= (const DenseVector< Other > &x) |
| |
| constexpr std::enable_if< std::is_convertible< ValueType, value_type >::value, derived_type >::type & | operator-= (const ValueType &kk) |
| |
| constexpr derived_type | operator+ (const DenseVector< Other > &b) const |
| |
| constexpr derived_type | operator- (const DenseVector< Other > &b) const |
| |
| constexpr derived_type | operator- () const |
| |
| constexpr std::enable_if< std::is_convertible< FieldType, field_type >::value, derived_type >::type & | operator*= (const FieldType &kk) |
| |
| constexpr std::enable_if< std::is_convertible< FieldType, field_type >::value, derived_type >::type & | operator/= (const FieldType &kk) |
| |
| constexpr bool | operator== (const DenseVector< Other > &x) const |
| |
| constexpr bool | operator!= (const DenseVector< Other > &x) const |
| |
| constexpr derived_type & | axpy (const field_type &a, const DenseVector< Other > &x) |
| |
| constexpr PromotionTraits< field_type, typenameDenseVector< Other >::field_type >::PromotedType | operator* (const DenseVector< Other > &x) const |
| |
| constexpr PromotionTraits< field_type, typenameDenseVector< Other >::field_type >::PromotedType | dot (const DenseVector< Other > &x) const |
| |
| constexpr FieldTraits< value_type >::real_type | one_norm () const |
| |
| constexpr FieldTraits< value_type >::real_type | one_norm_real () const |
| |
| constexpr FieldTraits< value_type >::real_type | two_norm () const |
| |
| constexpr FieldTraits< value_type >::real_type | two_norm2 () const |
| |
| constexpr FieldTraits< vt >::real_type | infinity_norm () const |
| |
| constexpr FieldTraits< vt >::real_type | infinity_norm () const |
| |
| constexpr FieldTraits< vt >::real_type | infinity_norm_real () const |
| |
| constexpr FieldTraits< vt >::real_type | infinity_norm_real () const |
| |
| constexpr size_type | N () const |
| |
| constexpr size_type | dim () const |
| |
| std::ostream & | operator<< (std::ostream &s, const DenseVector< V > &v) |
| |
template<class K, class A>
class Dune::Fem::DynamicReferenceVector< K, A >
An implementation of DenseVector which uses a std::vector of references as storage.
- Template Parameters
-
| T | is the field type (use float, double, complex, etc) |
| A | allocator type |