|
dune-common
2.6-git
|
vector space out of a tensor product of fields. More...
#include <dune/common/densematrix.hh>

Public Types | |
| enum | { dimension = SIZE } |
| export size More... | |
| typedef Base::size_type | size_type |
| typedef Base::value_type | value_type |
| typedef value_type & | reference |
| The type used for references to the vector entry. More... | |
Public Member Functions | |
| constexpr | FieldVector () |
| Constructor making default-initialized vector. More... | |
| FieldVector (const K &t) | |
| Constructor making vector with identical coordinates. More... | |
| FieldVector (const FieldVector &x) | |
| Copy constructor. More... | |
| FieldVector (std::initializer_list< K > const &l) | |
| Construct from a std::initializer_list. More... | |
| template<class C > | |
| FieldVector (const DenseVector< C > &x, typename std::enable_if< IsFieldVectorSizeCorrect< C, SIZE >::value >::type *dummy=0) | |
| Copy constructor from a second vector of possibly different type. More... | |
| template<class K1 , int SIZE1> | |
| FieldVector (const FieldVector< K1, SIZE1 > &x) | |
| Constructor making vector with identical coordinates. More... | |
| K & | operator[] (size_type i) |
| const K & | operator[] (size_type i) const |
| derived_type & | operator= (const value_type &k) |
| Assignment operator for scalar. More... | |
Static Public Member Functions | |
| static constexpr size_type | size () |
Public Attributes | |
| const typedef value_type & | const_reference |
| The type used for const references to the vector entry. More... | |
Related Functions | |
(Note that these are not member functions.) | |
| template<class K , int SIZE> | |
| std::istream & | operator>> (std::istream &in, FieldVector< K, SIZE > &v) |
| Read a FieldVector from an input stream. More... | |
vector space out of a tensor product of fields.
| K | the field type (use float, double, complex, etc) |
| SIZE | number of components. |
| typedef value_type& Dune::FieldVector< K, SIZE >::reference |
The type used for references to the vector entry.
| typedef Base::size_type Dune::FieldVector< K, SIZE >::size_type |
| typedef Base::value_type Dune::FieldVector< K, SIZE >::value_type |
| anonymous enum |
|
inlineconstexpr |
Constructor making default-initialized vector.
|
inlineexplicit |
Constructor making vector with identical coordinates.
|
inline |
Copy constructor.
|
inline |
Construct from a std::initializer_list.
|
inline |
Copy constructor from a second vector of possibly different type.
If the DenseVector type of the this constructor's argument is implemented by a FieldVector, it is statically checked if it has the correct size. If this is not the case the constructor is removed from the overload set using SFINAE.
| [in] | x | A DenseVector with correct size. |
| [in] | dummy | A void* dummy argument needed by SFINAE. |
|
inlineexplicit |
Constructor making vector with identical coordinates.
|
inline |
Assignment operator for scalar.
|
inline |
|
inline |
|
inlinestaticconstexpr |
| const typedef value_type& Dune::FieldVector< K, SIZE >::const_reference |
The type used for const references to the vector entry.
1.8.17