|
| | VectorNumT () |
| |
| | VectorNumT (const Vector &vec) |
| |
| | VectorNumT (size_type count, const T &value=T()) |
| |
| template<class InputIt > |
| | VectorNumT (InputIt first, InputIt last) |
| |
| | VectorNumT (const VectorNumT &other)=default |
| |
| | VectorNumT (std::initializer_list< T > init) |
| |
| | ~VectorNumT ()=default |
| |
| bool | isSame (const VectorNumT &v, double eps=1.e-10) const |
| |
| T | sum () const |
| |
| T | minimum () const |
| |
| T | maximum () const |
| |
| double | mean () const |
| |
| double | norm () const |
| |
| double | innerProduct (const VectorNumT< T > &v) const |
| |
| const VectorNumT< T > & | add (const VectorNumT< T > &v) |
| |
| const VectorNumT< T > & | subtract (const VectorNumT< T > &v) |
| |
| const VectorNumT< T > & | multiply (const VectorNumT< T > &v) |
| |
| const VectorNumT< T > & | divide (const VectorNumT< T > &v) |
| |
| const VectorNumT< T > & | add (const T &v) |
| |
| const VectorNumT< T > & | subtract (const T &v) |
| |
| const VectorNumT< T > & | multiply (const T &v) |
| |
| const VectorNumT< T > & | divide (const T &v) |
| |
| | VectorT () |
| |
| | VectorT (const Vector &vec) |
| |
| | VectorT (size_type count, const T &value=T()) |
| |
| template<class InputIt > |
| | VectorT (InputIt first, InputIt last) |
| |
| | VectorT (const VectorT &other)=default |
| |
| | VectorT (std::initializer_list< T > init) |
| |
| | VectorT (VectorT &&other) |
| |
| | ~VectorT ()=default |
| |
| | operator const Vector & () const |
| |
| Vector & | getVector () const |
| |
| Vector * | getVectorPtr () const |
| |
| VectorT & | operator= (const Vector &vec) |
| |
| VectorT & | operator= (const VectorT &other) |
| |
| VectorT & | operator= (VectorT &&other) |
| |
| VectorT & | operator= (std::initializer_list< T > init) |
| |
| bool | operator== (const VectorT &other) const |
| |
| bool | operator!= (const VectorT &other) const |
| |
| bool | operator< (const VectorT &other) const |
| |
| bool | operator<= (const VectorT &other) const |
| |
| bool | operator> (const VectorT &other) const |
| |
| bool | operator>= (const VectorT &other) const |
| |
| const T & | getAt (int pos) const |
| |
| void | setAt (int pos, const T &v) |
| |
| int | length () const |
| |
| const T & | at (size_type pos) const |
| |
| T & | at (size_type pos) |
| |
| const T & | operator[] (size_type pos) const |
| |
| T & | operator[] (size_type pos) |
| |
| T & | front () |
| |
| const T & | front () const |
| |
| T & | back () |
| |
| const T & | back () const |
| |
| T * | data () |
| |
| const T * | data () const |
| |
| const T * | constData () const |
| |
| T * | subdata (size_type i=0) |
| |
| const T * | subdata (size_type i=0) const |
| |
| bool | empty () const |
| |
| size_type | size () const |
| |
| void | reserve (size_type new_cap) |
| |
| size_type | capacity () const |
| |
| void | clear () |
| |
| void | insert (size_type i, const T &value) |
| |
| void | insert (size_type i, size_type count, const T &value) |
| |
| iterator | insert (const_iterator pos, const_iterator first, const_iterator last) |
| |
| void | remove (size_type i) |
| |
| void | remove (size_type i, size_type count) |
| |
| iterator | erase (const_iterator pos) |
| |
| iterator | erase (const_iterator first, const_iterator last) |
| |
| void | push_back (const T &value) |
| |
| void | push_front (const T &value) |
| |
| void | push_back (const T &&value) |
| |
| void | push_front (const T &&value) |
| |
| void | resize (size_type count) |
| |
| void | resize (size_type count, const T &value) |
| |
| iterator | begin () |
| |
| const_iterator | begin () const |
| |
| const_iterator | cbegin () const |
| |
| iterator | end () |
| |
| const_iterator | end () const |
| |
| const_iterator | cend () const |
| |
| reverse_iterator | rbegin () |
| |
| const_reverse_iterator | crbegin () const |
| |
| reverse_iterator | rend () |
| |
| const_reverse_iterator | crend () const |
| |
| VectorT & | operator<< (const T &value) |
| |
| VectorT & | operator<< (const VectorT< T > &v) |
| |
| void | swap (VectorT &other) |
| |
| bool | contains (const T &value) const |
| |
| void | fill (const T &value, size_type size=0) |
| |
| template<class InputIt > |
| void | assign (InputIt first, InputIt last) |
| |
| String | toString () const |
| |