| 
| 
  | DynamicArray (const ThisType &other) | 
|   | copy constructor 
  | 
|   | 
| 
  | DynamicArray (size_type size, const value_type &value, AllocatorType allocator=AllocatorType()) | 
|   | create array of length size with initialized values 
  | 
|   | 
| 
  | DynamicArray (size_type size=0, AllocatorType allocator=AllocatorType()) | 
|   | create array of length size without initializing the values 
  | 
|   | 
| 
void  | setMemoryFactor (double memFactor) | 
|   | set memory factor 
  | 
|   | 
| 
  | ~DynamicArray () | 
|   | destructor 
  | 
|   | 
| 
size_type  | capacity () const | 
|   | return number of total enties of array 
  | 
|   | 
| 
void  | assign (const ThisType &org) | 
|   | assign arrays 
  | 
|   | 
| 
ThisType &  | operator= (const ThisType &org) | 
|   | assign arrays 
  | 
|   | 
| void  | resize (size_type nsize) | 
|   | 
| void  | resize (size_type nsize, const value_type &value) | 
|   | 
| void  | reserve (size_type mSize) | 
|   | 
| 
size_type  | usedMemorySize () const | 
|   | return size of vector in bytes 
  | 
|   | 
| 
size_type  | size () const | 
|   | return size of array 
  | 
|   | 
| 
value_type &  | operator[] (size_type i) | 
|   | random access operator 
  | 
|   | 
| 
const value_type &  | operator[] (size_type i) const | 
|   | random access operator 
  | 
|   | 
| 
void  | clear () | 
|   | set all entries to 0 
  | 
|   | 
| 
void  | memmove (size_type length, size_type oldStartIdx, size_type newStartIdx) | 
|   | move memory from old to new destination 
  | 
|   | 
| bool  | operator== (const ThisType &other) const | 
|   | 
| 
constexpr bool  | operator== (const DenseVector< Other > &x) const | 
|   | Binary vector comparison. 
  | 
|   | 
| 
value_type *  | data () | 
|   | return pointer to data 
  | 
|   | 
| 
const value_type *  | data () const | 
|   | return pointer to data 
  | 
|   | 
| 
constexpr value_type &  | front () | 
|   | return reference to first element 
  | 
|   | 
| 
constexpr const value_type &  | front () const | 
|   | return reference to first element 
  | 
|   | 
| 
constexpr value_type &  | back () | 
|   | return reference to last element 
  | 
|   | 
| 
constexpr const value_type &  | back () const | 
|   | return reference to last element 
  | 
|   | 
| 
constexpr bool  | empty () const | 
|   | checks whether the container is empty 
  | 
|   | 
| 
constexpr Iterator  | begin () | 
|   | begin iterator 
  | 
|   | 
| 
constexpr ConstIterator  | begin () const | 
|   | begin ConstIterator 
  | 
|   | 
| 
constexpr Iterator  | end () | 
|   | end iterator 
  | 
|   | 
| 
constexpr ConstIterator  | end () const | 
|   | end ConstIterator 
  | 
|   | 
| constexpr Iterator  | beforeEnd () | 
|   | 
| constexpr ConstIterator  | beforeEnd () const | 
|   | 
| constexpr Iterator  | beforeBegin () | 
|   | 
| constexpr ConstIterator  | beforeBegin () const | 
|   | 
| 
constexpr Iterator  | find (size_type i) | 
|   | return iterator to given element or end() 
  | 
|   | 
| 
constexpr ConstIterator  | find (size_type i) const | 
|   | return iterator to given element or end() 
  | 
|   | 
| 
constexpr derived_type &  | operator+= (const DenseVector< Other > &x) | 
|   | vector space addition 
  | 
|   | 
| constexpr std::enable_if< std::is_convertible< ValueType, value_type >::value, derived_type >::type &  | operator+= (const ValueType &kk) | 
|   | vector space add scalar to all comps  More...
  | 
|   | 
| 
constexpr derived_type &  | operator-= (const DenseVector< Other > &x) | 
|   | vector space subtraction 
  | 
|   | 
| constexpr std::enable_if< std::is_convertible< ValueType, value_type >::value, derived_type >::type &  | operator-= (const ValueType &kk) | 
|   | vector space subtract scalar from all comps  More...
  | 
|   | 
| 
constexpr derived_type  | operator+ (const DenseVector< Other > &b) const | 
|   | Binary vector addition. 
  | 
|   | 
| 
constexpr derived_type  | operator- (const DenseVector< Other > &b) const | 
|   | Binary vector subtraction. 
  | 
|   | 
| 
constexpr derived_type  | operator- () const | 
|   | Vector negation. 
  | 
|   | 
| constexpr std::enable_if< std::is_convertible< FieldType, field_type >::value, derived_type >::type &  | operator*= (const FieldType &kk) | 
|   | vector space multiplication with scalar  More...
  | 
|   | 
| constexpr std::enable_if< std::is_convertible< FieldType, field_type >::value, derived_type >::type &  | operator/= (const FieldType &kk) | 
|   | vector space division by scalar  More...
  | 
|   | 
| 
constexpr bool  | operator!= (const DenseVector< Other > &x) const | 
|   | Binary vector incomparison. 
  | 
|   | 
| 
constexpr derived_type &  | axpy (const field_type &a, const DenseVector< Other > &x) | 
|   | vector space axpy operation ( *this += a x ) 
  | 
|   | 
| constexpr PromotionTraits< field_type, typenameDenseVector< Other >::field_type >::PromotedType  | operator* (const DenseVector< Other > &x) const | 
|   | indefinite vector dot product \(\left (x^T \cdot y \right)\) which corresponds to Petsc's VecTDot  More...
  | 
|   | 
| constexpr PromotionTraits< field_type, typenameDenseVector< Other >::field_type >::PromotedType  | dot (const DenseVector< Other > &x) const | 
|   | vector dot product \(\left (x^H \cdot y \right)\) which corresponds to Petsc's VecDot  More...
  | 
|   | 
| 
constexpr FieldTraits< value_type >::real_type  | one_norm () const | 
|   | one norm (sum over absolute values of entries) 
  | 
|   | 
| 
constexpr FieldTraits< value_type >::real_type  | one_norm_real () const | 
|   | simplified one norm (uses Manhattan norm for complex values) 
  | 
|   | 
| 
constexpr FieldTraits< value_type >::real_type  | two_norm () const | 
|   | two norm sqrt(sum over squared values of entries) 
  | 
|   | 
| 
constexpr FieldTraits< value_type >::real_type  | two_norm2 () const | 
|   | square of two norm (sum over squared values of entries), need for block recursion 
  | 
|   | 
| 
constexpr FieldTraits< vt >::real_type  | infinity_norm () const | 
|   | infinity norm (maximum of absolute values of entries) 
  | 
|   | 
| 
constexpr FieldTraits< vt >::real_type  | infinity_norm () const | 
|   | infinity norm (maximum of absolute values of entries) 
  | 
|   | 
| 
constexpr FieldTraits< vt >::real_type  | infinity_norm_real () const | 
|   | simplified infinity norm (uses Manhattan norm for complex values) 
  | 
|   | 
| 
constexpr FieldTraits< vt >::real_type  | infinity_norm_real () const | 
|   | simplified infinity norm (uses Manhattan norm for complex values) 
  | 
|   | 
| 
constexpr size_type  | N () const | 
|   | number of blocks in the vector (are of size 1 here) 
  | 
|   | 
| 
constexpr size_type  | dim () const | 
|   | dimension of the vector space 
  | 
|   | 
template<class T, class Allocator>
class Dune::Fem::DynamicArray< T, Allocator >
An implementation of DenseVector which uses a C-array of dynamic size as storage. 
- Template Parameters
 - 
  
    | T | is the field type (use float, double, complex, etc)  | 
    | Allocator | is the allocator type  |