|
|
| TFEL_MATH_RUNTIME_ARRAY_DEFAULT_METHODS (vector, GenericRuntimeArrayBase) |
|
| vector (const typename vector::size_type, const ValueType &=ValueType{}) |
| | constructor
|
|
template<typename InputIterator> |
| | vector (const InputIterator, const InputIterator) |
|
void | push_back (const ValueType &) |
|
void | resize (const typename vector::size_type, const ValueType &=ValueType{}) |
| | resize the array
|
|
template<typename InputIterator> |
| void | insert (const typename vector::const_iterator, const InputIterator, const InputIterator) |
| void | swap (vector &) |
| | swap two vectors
|
| template<typename InputIterator> |
| void | copy (const InputIterator, const InputIterator) |
|
| ~vector () noexcept |
| | destructor
|
|
void | resize (const typename RuntimeVectorArrayPolicy< ValueType >::IndexingPolicy &) |
| | resize the array
|
|
| GenericRuntimeArray ()=default |
| | default constructor
|
| GenericRuntimeArray< vector< ValueType >, RuntimeVectorArrayPolicy< ValueType > >::pointer | data () noexcept |
|
void | resize (const typename RuntimeVectorArrayPolicy< ValueType >::IndexingPolicy &) |
| | resize the array
|
| GenericRuntimeArray< vector< ValueType >, RuntimeVectorArrayPolicy< ValueType > >::size_type | getContainerSize () const noexcept |
| vector< ValueType > & | operator= (const OtherArray &) |
| | assign values values from an other array
|
|
vector< ValueType > & | operator+= (const OtherArray &) |
|
vector< ValueType > & | operator-= (const OtherArray &) |
|
vector< ValueType > & | operator*= (const ValueType2 &) noexcept |
|
vector< ValueType > & | operator/= (const ValueType2 &) noexcept |
|
bool | empty () const |
|
void | clear () |
|
void | shrink_to_fit () |
|
| MutableRuntimeArrayBase ()=default |
| | default constructor
|
|
MutableRuntimeArrayBase & | operator= (const MutableRuntimeArrayBase &)=default |
| | copy assignement
|
| TFEL_HOST_DEVICE constexpr const RuntimeVectorArrayPolicy< ValueType >::IndexingPolicy & | getIndexingPolicy () const noexcept |
| void | iterate (const Functor &) |
| | apply a multi-indices functor
|
|
constexpr RuntimeVectorArrayPolicy< ValueType >::reference | operator() (const Indices... i) noexcept |
|
constexpr void | assign (const OtherArray &src) noexcept |
|
constexpr void | addAndAssign (const OtherArray &src) noexcept |
|
constexpr void | substractAndAssign (const OtherArray &src) noexcept |
|
constexpr GenericRuntimeArray< vector< ValueType >, RuntimeVectorArrayPolicy< ValueType > > & | operator= (const std::initializer_list< ValueType > &values) noexcept |
|
constexpr void | import (const ImportIndexingPolicy &policy, const InputIterator p, const InputIterator pe) |
|
constexpr void | fill (const ValueType2 &v) |
|
constexpr void | clamp (const ValueType2 &lower_bound, const ValueType3 &upper_bound) |
|
constexpr void | multiplyByScalar (const ValueType2 &s) |
|
constexpr void | divideByScalar (const ValueType2 &s) |
| TFEL_HOST_DEVICE constexpr RuntimeVectorArrayPolicy< ValueType >::reference | operator[] (const typename RuntimeVectorArrayPolicy< ValueType >::IndexingPolicy::size_type) noexcept |
| | access operator
|
|
constexpr RuntimeVectorArrayPolicy< ValueType >::const_reference | operator() (const Indices... i) const noexcept |
| TFEL_HOST_DEVICE constexpr RuntimeVectorArrayPolicy< ValueType >::const_reference | operator[] (const typename RuntimeVectorArrayPolicy< ValueType >::IndexingPolicy::size_type) const noexcept |
| | access operator
|
template<typename ValueType>
class tfel::math::vector< ValueType >
A class representing dynamically allocated vector.
- Template Parameters
-
| T | the underlying numerical type. |
- Author
- Thomas Helfer
- Date
- 04/04/2007