|
| | vector_short_ptr (vector_short const &v) |
| | Typically we have to construct from a vector_short. More...
|
| |
| vector_short & | operator* () |
| | Dereference operator. More...
|
| |
| vector_short * | operator-> () |
| | Dereference operator. More...
|
| |
| | vector_short () |
| | The default constructor is only really useful for assigning to. More...
|
| |
| | vector_short (size_t const n) |
| | The default constructor creates a new vector_short with n elements. More...
|
| |
| | vector_short (gsl_vector_short *v) |
| | Could construct from a gsl_vector_short. More...
|
| |
| | vector_short (std::initializer_list< short > initializer_list) |
| | Could construct from a std::initializer_list in C++11. More...
|
| |
| | vector_short (vector_short const &v) |
| | The copy constructor. More...
|
| |
| | vector_short (vector_short &v) |
| | The copy constructor. More...
|
| |
| vector_short & | operator= (vector_short const &v) |
| | The assignment operator. More...
|
| |
| template<typename V > |
| | vector_short (V &v, size_t const stride=1) |
| | Construct from an object that implements data() and size(). More...
|
| |
| vector_short | clone () const |
| | The clone function. More...
|
| |
| | ~vector_short () |
| | The destructor only deletes the pointers if count reaches zero. More...
|
| |
| void | wrap_gsl_vector_short_without_ownership (gsl_vector_short *v) |
| | This function is intended mainly for internal use. More...
|
| |
| bool | operator== (vector_short const &v) const |
| | Two vector_short objects are identically equal if their elements are identical. More...
|
| |
| void | reset () |
| | Stop sharing ownership of the shared pointer. More...
|
| |
| | vector_short (vector_short &&v) |
| | Move constructor. More...
|
| |
| vector_short & | operator= (vector_short &&v) |
| | Move operator. More...
|
| |
| bool | operator!= (vector_short const &v) const |
| | Two vector_short objects are different equal if their elements are not identical. More...
|
| |
| bool | operator< (vector_short const &v) const |
| | A container needs to define an ordering for sorting. More...
|
| |
| bool | operator> (vector_short const &v) const |
| | A container needs to define an ordering for sorting. More...
|
| |
| bool | operator<= (vector_short const &v) const |
| | A container needs to define an ordering for sorting. More...
|
| |
| bool | operator>= (vector_short const &v) const |
| | A container needs to define an ordering for sorting. More...
|
| |
| iterator | begin () |
| | Get iterator pointing to first vector_short element. More...
|
| |
| const_iterator | begin () const |
| | Get iterator pointing to first vector_short element. More...
|
| |
| iterator | end () |
| | Get iterator pointing beyond last vector_short element. More...
|
| |
| const_iterator | end () const |
| | Get iterator pointing beyond last vector_short element. More...
|
| |
| size_type | size () const |
| | The size (number of elements) of the vector_short. More...
|
| |
| short * | data () |
| | Give access to the data block_short. More...
|
| |
| short const * | data () const |
| | Give access to the data block_short. More...
|
| |
| size_type | max_size () const |
| | The max size (number of elements) of the vector_short. More...
|
| |
| bool | empty () const |
| | Find if the vector_short is empty. More...
|
| |
| void | swap (vector_short &v) |
| | Swap two vector_short objects. More...
|
| |
| reverse_iterator | rbegin () |
| | Get iterator pointing to first vector_short element. More...
|
| |
| const_reverse_iterator | rbegin () const |
| | Get iterator pointing to first vector_short element. More...
|
| |
| reverse_iterator | rend () |
| | Get iterator pointing beyond last vector_short element. More...
|
| |
| const_reverse_iterator | rend () const |
| | Get iterator pointing beyond last vector_short element. More...
|
| |
| short & | operator[] (size_t const n) |
| | Get element at position n by reference ([] operator). More...
|
| |
| short const & | operator[] (size_t const n) const |
| | Get element at position n by reference ([] operator). More...
|
| |
| gsl_vector_short * | get () |
| | Get the gsl_vector_short. More...
|
| |
| gsl_vector_short const * | get () const |
| | Get the gsl_vector_short. More...
|
| |
| bool | unique () const |
| | Find if this is the only object sharing the gsl_vector_short. More...
|
| |
| size_t | use_count () const |
| | Find how many vector_short objects share this pointer. More...
|
| |
| | operator bool () const |
| | Allow conversion to bool. More...
|
| |
| void | set_zero () |
| | C++ version of gsl_vector_short_set_zero(). More...
|
| |
| void | set_all (short x) |
| | C++ version of gsl_vector_short_set_all(). More...
|
| |
| int | set_basis (size_t i) |
| | C++ version of gsl_vector_short_set_basis(). More...
|
| |
| int | memcpy (vector_short const &src) |
| | C++ version of gsl_vector_short_memcpy(). More...
|
| |
| int | reverse () |
| | C++ version of gsl_vector_short_reverse(). More...
|
| |
| int | swap_elements (size_t const i, size_t const j) |
| | C++ version of gsl_vector_short_swap_elements(). More...
|
| |
| short | max () const |
| | C++ version of gsl_vector_short_max(). More...
|
| |
| short | min () const |
| | C++ version of gsl_vector_short_min(). More...
|
| |
| void | minmax (short &min_out, short &max_out) const |
| | C++ version of gsl_vector_short_minmax(). More...
|
| |
| size_t | max_index () const |
| | C++ version of gsl_vector_short_max_index(). More...
|
| |
| size_t | min_index () const |
| | C++ version of gsl_vector_short_min_index(). More...
|
| |
| void | minmax_index (size_t *imin, size_t *imax) const |
| | C++ version of gsl_vector_short_minmax_index(). More...
|
| |
| int | add (vector_short const &b) |
| | C++ version of gsl_vector_short_add(). More...
|
| |
| int | sub (vector_short const &b) |
| | C++ version of gsl_vector_short_sub(). More...
|
| |
| int | mul (vector_short const &b) |
| | C++ version of gsl_vector_short_mul(). More...
|
| |
| int | div (vector_short const &b) |
| | C++ version of gsl_vector_short_div(). More...
|
| |
| int | scale (short const x) |
| | C++ version of gsl_vector_short_scale(). More...
|
| |
| int | add_constant (short const x) |
| | C++ version of gsl_vector_short_add_constant(). More...
|
| |
| int | axpby (short const alpha, vector_short const &x, short const beta) |
| | C++ version of gsl_vector_short_axpby(). More...
|
| |
| short | sum (vector_short const &a) const |
| | C++ version of gsl_vector_short_sum(). More...
|
| |
| int | isnull () const |
| | C++ version of gsl_vector_short_isnull(). More...
|
| |
| int | ispos () const |
| | C++ version of gsl_vector_short_ispos(). More...
|
| |
| int | isneg () const |
| | C++ version of gsl_vector_short_isneg(). More...
|
| |
| int | isnonneg () const |
| | C++ version of gsl_vector_short_isnonneg(). More...
|
| |
| short | get (size_t const i) const |
| | C++ version of gsl_vector_short_get(). More...
|
| |
| void | set (size_t const i, short x) |
| | C++ version of gsl_vector_short_set(). More...
|
| |
| short * | ptr (size_t const i) |
| | C++ version of gsl_vector_short_ptr(). More...
|
| |
| short const * | const_ptr (size_t const i) const |
| | C++ version of gsl_vector_short_const_ptr(). More...
|
| |
| int | fread (FILE *stream) |
| | C++ version of gsl_vector_short_fread(). More...
|
| |
| int | fwrite (FILE *stream) const |
| | C++ version of gsl_vector_short_fwrite(). More...
|
| |
| int | fscanf (FILE *stream) |
| | C++ version of gsl_vector_short_fscanf(). More...
|
| |
| int | fprintf (FILE *stream, char const *format) const |
| | C++ version of gsl_vector_short_fprintf(). More...
|
| |
| | vector_short (block_short &b, size_t const offset, size_t const n, size_t const stride=1) |
| | C++ version of gsl_vector_short_alloc_from_block(). More...
|
| |
| | vector_short (vector_short &v, size_t const offset, size_t const n, size_t const stride=1) |
| | C++ version of gsl_vector_short_alloc_from_vector(). More...
|
| |
| vector_short | subvector (size_t i, size_t n) |
| | C++ version of gsl_vector_short_subvector(). More...
|
| |
| vector_short | subvector_with_stride (size_t i, size_t stride, size_t n) |
| | C++ version of gsl_vector_short_subvector_with_stride(). More...
|
| |
| vector_short const | const_subvector (size_t i, size_t n) const |
| | C++ version of gsl_vector_short_const_subvector(). More...
|
| |
| vector_short const | const_subvector_with_stride (size_t i, size_t stride, size_t n) const |
| | C++ version of gsl_vector_short_const_subvector_with_stride(). More...
|
| |
|
| typedef short | value_type |
| | A container must have a value_type. More...
|
| |
| typedef value_type & | reference |
| | A container must have a reference type. More...
|
| |
| typedef value_type const & | const_reference |
| | A container must have a constant reference type. More...
|
| |
| typedef value_type * | pointer |
| | A container must have a pointer type. More...
|
| |
| typedef value_type const * | const_pointer |
| | A container must have a constant pointer type. More...
|
| |
| typedef const_iterator_t< false > | const_iterator |
| | The const_iterator type. More...
|
| |
| typedef iterator_t< false > | iterator |
| | The iterator type. More...
|
| |
| typedef const_iterator_t< true > | const_reverse_iterator |
| | The const_reverse_t type. More...
|
| |
| typedef iterator_t< true > | reverse_iterator |
| | The reverse_iterator type. More...
|
| |
| typedef const_iterator::difference_type | difference_type |
| | A container must have a difference_type. More...
|
| |
| typedef size_t | size_type |
| | A container must have a size_type. More...
|
| |
| static vector_short | calloc (size_t const n) |
| | C++ version of gsl_vector_short_calloc(). More...
|
| |
| static vector_short | view_array (short *v, size_t n) |
| | C++ version of gsl_vector_short_view_array(). More...
|
| |
| static vector_short | view_array_with_stride (short *base, size_t stride, size_t n) |
| | C++ version of gsl_vector_short_view_array_with_stride(). More...
|
| |
| static vector_short const | const_view_array (short const *v, size_t n) |
| | C++ version of gsl_vector_short _const_view_array(). More...
|
| |
| static vector_short const | const_view_array_with_stride (short const *base, size_t stride, size_t n) |
| | C++ version of gsl_vector_short_const_view_array_with_stride(). More...
|
| |
| template<typename ARRAY > |
| static vector_short | view_array (ARRAY &v, size_t n=0) |
| | C++ version of gsl_vector_short_view_array(). More...
|
| |
| template<typename ARRAY > |
| static vector_short | view_array_with_stride (ARRAY &base, size_t stride, size_t n=0) |
| | C++ version of gsl_vector_short_view_array_with_stride(). More...
|
| |
| template<typename ARRAY > |
| static vector_short const | const_view_array (ARRAY const &v, size_t n=0) |
| | C++ version of gsl_vector_short _const_view_array(). More...
|
| |
| template<typename ARRAY > |
| static vector_short const | const_view_array_with_stride (ARRAY const &base, size_t stride, size_t n=0) |
| | C++ version of gsl_vector_short_const_view_array_with_stride(). More...
|
| |
| static vector_short | alloc_row_from_matrix (matrix_short &m, size_t const i) |
| | C++ version of gsl_vector_short_alloc_row_from_matrix(). More...
|
| |
| static vector_short | alloc_col_from_matrix (matrix_short &m, size_t const j) |
| | C++ version of gsl_vector_short_alloc_col_from_matrix(). More...
|
| |
This is a pointer-like type for iterator return values.
Definition at line 237 of file matrix_short.hpp.