|
| | JArray () |
| | Default constructor.
|
| |
| template<unsigned int M> |
| | JArray (const JArray< M, T > &array) |
| | Copy constructor.
|
| |
| template<unsigned int M> |
| | JArray (const JArray< M, const T > &array) |
| | Copy constructor.
|
| |
| | JArray (const T *p) |
| | Copy constructor.
|
| |
| | JArray (const JMultiKey< N, T > &key) |
| | Copy constructor.
|
| |
| | JArray (const JMultiKey< N, const T > &key) |
| | Copy constructor.
|
| |
| | JArray (const JArray< N-1, T > &array, argument_type value) |
| | Append constructor.
|
| |
| | JArray (const JArray< N-1, const T > &array, argument_type value) |
| | Append constructor.
|
| |
| | JArray (const JMultiKey< N-1, T > &key, argument_type value) |
| | Append constructor.
|
| |
| | JArray (const JMultiKey< N-1, const T > &key, argument_type value) |
| | Append constructor.
|
| |
| template<class ... Args> |
| | JArray (argument_type value, const Args &...args) |
| | Initialise constructor.
|
| |
| template<class ... Args> |
| JArray & | set (const Args &...args) |
| | Set array.
|
| |
| | operator JMultiKey< N, T > () const |
| | Type conversion operator.
|
| |
| const_iterator | begin () const |
| | get iterator to begin of data
|
| |
| const_iterator | end () const |
| | get iterator to end of data
|
| |
| iterator | begin () |
| | get iterator to begin of data
|
| |
| iterator | end () |
| | get iterator to end of data
|
| |
| const_reverse_iterator | rbegin () const |
| | get reverse iterator to begin of data
|
| |
| const_reverse_iterator | rend () const |
| | get reverse iterator to begin of data
|
| |
| reverse_iterator | rbegin () |
| | get reverse iterator to begin of data
|
| |
| reverse_iterator | rend () |
| | get reverse iterator to end of data
|
| |
| const_reference | operator[] (int index) const |
| | Get element at given index.
|
| |
| reference | operator[] (int index) |
| | Get element at given index.
|
| |
| const_reference | at (int index) const |
| | Get element at given index.
|
| |
| reference | at (int index) |
| | Get element at given index.
|
| |
| const_pointer | data () const |
| | Get pointer to data.
|
| |
| pointer | data () |
| | Get pointer to data.
|
| |
| 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.
|
| |
| void | fill (argument_type value) |
| | Fill array.
|
| |
| 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<class ... Args> |
| void | __set__ (const int i, const argument_type x, const Args &...args) |
| | Recursive method for setting array.
|
| |
| void | __set__ (const int i) const |
| | Termination method for setting array.
|
| |
| template<unsigned int M> |
| void | assign (const JMultiKey< M, T > &key) |
| | Recursive method for setting array.
|
| |
| template<unsigned int M> |
| void | assign (const JMultiKey< M, const T > &key) |
| | Recursive method for setting array.
|
| |
| void | assign (const JMultiKey< 1, T > &key) |
| | Termination method for setting array.
|
| |
| void | assign (const JMultiKey< 1, const T > &key) |
| | Termination method for setting array.
|
| |
| template<unsigned int M> |
| void | assign (const JMultiKey< M, T > &key, argument_type value) |
| | Recursive method for setting array.
|
| |
| template<unsigned int M> |
| void | assign (const JMultiKey< M, const T > &key, argument_type value) |
| | Recursive method for setting array.
|
| |
| void | assign (const JMultiKey< 1, T > &key, argument_type value) |
| | Termination method for setting array.
|
| |
| void | assign (const JMultiKey< 1, const T > &key, argument_type value) |
| | Termination method for setting array.
|
| |
template<unsigned int N, class T>
class JTOOLS::JArray< N, T >
One dimensional array of template objects with fixed length.
The internal data structure consists of a standard C-array.
Definition at line 40 of file JArray.hh.