|
| | JArray () |
| | Default constructor.
|
| |
| template<unsigned int M> |
| | JArray (const JArray< M, T > &array) |
| | Copy constructor.
|
| |
| template<unsigned int M> |
| | JArray (const JArray< M, U > &array) |
| | Copy constructor.
|
| |
| template<class ... Args> |
| | JArray (argument_type value, const Args &...args) |
| | Assemble constructor.
|
| |
| | JArray (const T *p) |
| | Multi-copy constructor.
|
| |
| template<size_t M> |
| | JArray (const std::array< T, M > &first, const std::array< T, N-M > &second) |
| | Combine constructor.
|
| |
| template<size_t M, class ... Args> |
| | JArray (const std::array< T, M > &array, argument_type value, const Args &...args) |
| | Copy and assemble constructor.
|
| |
| template<size_t M, class ... Args> |
| | JArray (const std::array< U, M > &array, argument_type value, const Args &...args) |
| | Copy and assemble constructor.
|
| |
| | JArray (const JMultiKey< N, T > &key) |
| | Convert constructor.
|
| |
| | JArray (const JMultiKey< N, U > &key) |
| | Convert constructor.
|
| |
| template<unsigned int M> |
| | JArray (const JMultiKey< M, T > &key, const std::array< std::remove_const_t< T >, N-M > &array) |
| | Convert and combine constructor.
|
| |
| template<unsigned int M> |
| | JArray (const JMultiKey< M, U > &key, const std::array< std::remove_const_t< T >, N-M > &array) |
| | Convert and combine constructor.
|
| |
| template<unsigned int M, class ... Args> |
| | JArray (const JMultiKey< M, T > &key, argument_type value, const Args &...args) |
| | Convert and assemble constructor.
|
| |
| template<unsigned int M, class ... Args> |
| | JArray (const JMultiKey< M, U > &key, argument_type value, const Args &...args) |
| | Convert and assemble constructor.
|
| |
| JArray< N-1, T > | pop_front () const |
| | Make a copy in which the first element is removed.
|
| |
| JArray< N-1, T > | pop_back () const |
| | Make a copy in which the last element is removed.
|
| |
| JArray< N+1, T > | push_back (argument_type value) const |
| | Make a copy and push back value.
|
| |
| JArray & | negate () |
| | Negate array.
|
| |
| JArray & | add (const JArray &array) |
| | Add array.
|
| |
| JArray & | sub (const JArray &array) |
| | Subtract array.
|
| |
| JArray & | mul (const double factor) |
| | Scale array.
|
| |
| JArray & | div (const double factor) |
| | Scale array.
|
| |
| bool | equals (const JArray< N, T > &array) const |
| | Check equality.
|
| |
| JFirst_t & | mul (const JSecond_t &object) |
| | Multiply with object.
|
| |
|
| template<size_t M, size_t ... i> |
| static std::array< T, N > | match (const std::array< T, M > &array, const std::index_sequence< i... > &ls) |
| | Auxiliary method to match array.
|
| |
| template<size_t M> |
| static std::array< T, N > | match (const std::array< T, M > &array) |
| | Match array.
|
| |
| template<size_t ... i> |
| static std::array< T, sizeof...(i)> | convert (const std::array< U, sizeof...(i)> &array, const std::index_sequence< i... > &ls) |
| | Auxiliary method to convert array.
|
| |
| template<size_t M> |
| static std::array< T, M > | convert (const std::array< U, M > &array) |
| | Convert array.
|
| |
| template<size_t ... iv, size_t ... iw> |
| static std::array< T, N > | combine (const std::array< T, sizeof...(iv)> &v, const std::index_sequence< iv... > &lv, const std::array< T, sizeof...(iw)> &w, const std::index_sequence< iw... > &lw) |
| | Auxiliary method combine arrays.
|
| |
| template<size_t M> |
| static std::array< T, N > | combine (const std::array< T, M > &first, const std::array< T, N-M > &second) |
| | Combine two arrays.
|
| |
| template<class ... Args> |
| static JArray< N-1, T > | pop_front (argument_type value, const Args &...args) |
| | Auxiliary method to pop front array.
|
| |
template<unsigned int N, class T>
struct JTOOLS::JArray< N, T >
Wrapper data structure around std::array.
Definition at line 39 of file JArray.hh.