ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
gsl::matrix_long_double::vector_long_double_ptr Struct Reference

This is a pointer-like type for iterator return values. More...

Inheritance diagram for gsl::matrix_long_double::vector_long_double_ptr:
Inheritance graph
Collaboration diagram for gsl::matrix_long_double::vector_long_double_ptr:
Collaboration graph

Public Member Functions

 vector_long_double_ptr (vector_long_double const &v)
 Typically we have to construct from a vector_long_double. More...
 
vector_long_doubleoperator* ()
 Dereference operator. More...
 
vector_long_doubleoperator-> ()
 Dereference operator. More...
 
- Public Member Functions inherited from gsl::vector_long_double
 vector_long_double ()
 The default constructor is only really useful for assigning to. More...
 
 vector_long_double (size_t const n)
 The default constructor creates a new vector_long_double with n elements. More...
 
 vector_long_double (gsl_vector_long_double *v)
 Could construct from a gsl_vector_long_double. More...
 
 vector_long_double (std::initializer_list< long double > initializer_list)
 Could construct from a std::initializer_list in C++11. More...
 
 vector_long_double (vector_long_double const &v)
 The copy constructor. More...
 
 vector_long_double (vector_long_double &v)
 The copy constructor. More...
 
vector_long_doubleoperator= (vector_long_double const &v)
 The assignment operator. More...
 
template<typename V >
 vector_long_double (V &v, size_t const stride=1)
 Construct from an object that implements data() and size(). More...
 
vector_long_double clone () const
 The clone function. More...
 
 ~vector_long_double ()
 The destructor only deletes the pointers if count reaches zero. More...
 
void wrap_gsl_vector_long_double_without_ownership (gsl_vector_long_double *v)
 This function is intended mainly for internal use. More...
 
bool operator== (vector_long_double const &v) const
 Two vector_long_double objects are identically equal if their elements are identical. More...
 
void reset ()
 Stop sharing ownership of the shared pointer. More...
 
 vector_long_double (vector_long_double &&v)
 Move constructor. More...
 
vector_long_doubleoperator= (vector_long_double &&v)
 Move operator. More...
 
bool operator!= (vector_long_double const &v) const
 Two vector_long_double objects are different equal if their elements are not identical. More...
 
bool operator< (vector_long_double const &v) const
 A container needs to define an ordering for sorting. More...
 
bool operator> (vector_long_double const &v) const
 A container needs to define an ordering for sorting. More...
 
bool operator<= (vector_long_double const &v) const
 A container needs to define an ordering for sorting. More...
 
bool operator>= (vector_long_double const &v) const
 A container needs to define an ordering for sorting. More...
 
iterator begin ()
 Get iterator pointing to first vector_long_double element. More...
 
const_iterator begin () const
 Get iterator pointing to first vector_long_double element. More...
 
iterator end ()
 Get iterator pointing beyond last vector_long_double element. More...
 
const_iterator end () const
 Get iterator pointing beyond last vector_long_double element. More...
 
size_type size () const
 The size (number of elements) of the vector_long_double. More...
 
long double * data ()
 Give access to the data block_long_double. More...
 
long double const * data () const
 Give access to the data block_long_double. More...
 
size_type max_size () const
 The max size (number of elements) of the vector_long_double. More...
 
bool empty () const
 Find if the vector_long_double is empty. More...
 
void swap (vector_long_double &v)
 Swap two vector_long_double objects. More...
 
reverse_iterator rbegin ()
 Get iterator pointing to first vector_long_double element. More...
 
const_reverse_iterator rbegin () const
 Get iterator pointing to first vector_long_double element. More...
 
reverse_iterator rend ()
 Get iterator pointing beyond last vector_long_double element. More...
 
const_reverse_iterator rend () const
 Get iterator pointing beyond last vector_long_double element. More...
 
long double & operator[] (size_t const n)
 Get element at position n by reference ([] operator). More...
 
long double const & operator[] (size_t const n) const
 Get element at position n by reference ([] operator). More...
 
gsl_vector_long_double * get ()
 Get the gsl_vector_long_double. More...
 
gsl_vector_long_double const * get () const
 Get the gsl_vector_long_double. More...
 
bool unique () const
 Find if this is the only object sharing the gsl_vector_long_double. More...
 
size_t use_count () const
 Find how many vector_long_double objects share this pointer. More...
 
 operator bool () const
 Allow conversion to bool. More...
 
void set_zero ()
 C++ version of gsl_vector_long_double_set_zero(). More...
 
void set_all (long double x)
 C++ version of gsl_vector_long_double_set_all(). More...
 
int set_basis (size_t i)
 C++ version of gsl_vector_long_double_set_basis(). More...
 
int memcpy (vector_long_double const &src)
 C++ version of gsl_vector_long_double_memcpy(). More...
 
int reverse ()
 C++ version of gsl_vector_long_double_reverse(). More...
 
int swap_elements (size_t const i, size_t const j)
 C++ version of gsl_vector_long_double_swap_elements(). More...
 
long double max () const
 C++ version of gsl_vector_long_double_max(). More...
 
long double min () const
 C++ version of gsl_vector_long_double_min(). More...
 
void minmax (long double *min_out, long double *max_out) const
 C++ version of gsl_vector_long_double_minmax(). More...
 
void minmax (long double &min_out, long double &max_out) const
 C++ version of gsl_vector_long_double_minmax(). More...
 
size_t max_index () const
 C++ version of gsl_vector_long_double_max_index(). More...
 
size_t min_index () const
 C++ version of gsl_vector_long_double_min_index(). More...
 
void minmax_index (size_t *imin, size_t *imax) const
 C++ version of gsl_vector_long_double_minmax_index(). More...
 
int add (vector_long_double const &b)
 C++ version of gsl_vector_long_double_add(). More...
 
int sub (vector_long_double const &b)
 C++ version of gsl_vector_long_double_sub(). More...
 
int mul (vector_long_double const &b)
 C++ version of gsl_vector_long_double_mul(). More...
 
int div (vector_long_double const &b)
 C++ version of gsl_vector_long_double_div(). More...
 
int scale (long double const x)
 C++ version of gsl_vector_long_double_scale(). More...
 
int add_constant (long double const x)
 C++ version of gsl_vector_long_double_add_constant(). More...
 
int axpby (long double const alpha, vector_long_double const &x, long double const beta)
 C++ version of gsl_vector_long_double_axpby(). More...
 
long double sum (vector_long_double const &a) const
 C++ version of gsl_vector_long_double_sum(). More...
 
int isnull () const
 C++ version of gsl_vector_long_double_isnull(). More...
 
int ispos () const
 C++ version of gsl_vector_long_double_ispos(). More...
 
int isneg () const
 C++ version of gsl_vector_long_double_isneg(). More...
 
int isnonneg () const
 C++ version of gsl_vector_long_double_isnonneg(). More...
 
long double get (size_t const i) const
 C++ version of gsl_vector_long_double_get(). More...
 
void set (size_t const i, long double x)
 C++ version of gsl_vector_long_double_set(). More...
 
long double * ptr (size_t const i)
 C++ version of gsl_vector_long_double_ptr(). More...
 
long double const * const_ptr (size_t const i) const
 C++ version of gsl_vector_long_double_const_ptr(). More...
 
int fread (FILE *stream)
 C++ version of gsl_vector_long_double_fread(). More...
 
int fwrite (FILE *stream) const
 C++ version of gsl_vector_long_double_fwrite(). More...
 
int fscanf (FILE *stream)
 C++ version of gsl_vector_long_double_fscanf(). More...
 
int fprintf (FILE *stream, char const *format) const
 C++ version of gsl_vector_long_double_fprintf(). More...
 
 vector_long_double (block_long_double &b, size_t const offset, size_t const n, size_t const stride=1)
 C++ version of gsl_vector_long_double_alloc_from_block(). More...
 
 vector_long_double (vector_long_double &v, size_t const offset, size_t const n, size_t const stride=1)
 C++ version of gsl_vector_long_double_alloc_from_vector(). More...
 
vector_long_double subvector (size_t i, size_t n)
 C++ version of gsl_vector_long_double_subvector(). More...
 
vector_long_double subvector_with_stride (size_t i, size_t stride, size_t n)
 C++ version of gsl_vector_long_double_subvector_with_stride(). More...
 
vector_long_double const const_subvector (size_t i, size_t n) const
 C++ version of gsl_vector_long_double_const_subvector(). More...
 
vector_long_double const const_subvector_with_stride (size_t i, size_t stride, size_t n) const
 C++ version of gsl_vector_long_double_const_subvector_with_stride(). More...
 

Additional Inherited Members

- Public Types inherited from gsl::vector_long_double
typedef long double value_type
 A container must have a value_type. More...
 
typedef value_typereference
 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_typepointer
 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 Public Member Functions inherited from gsl::vector_long_double
static vector_long_double calloc (size_t const n)
 C++ version of gsl_vector_long_double_calloc(). More...
 
static vector_long_double view_array (long double *v, size_t n)
 C++ version of gsl_vector_long_double_view_array(). More...
 
static vector_long_double view_array_with_stride (long double *base, size_t stride, size_t n)
 C++ version of gsl_vector_long_double_view_array_with_stride(). More...
 
static vector_long_double const const_view_array (long double const *v, size_t n)
 C++ version of gsl_vector_long_double _const_view_array(). More...
 
static vector_long_double const const_view_array_with_stride (long double const *base, size_t stride, size_t n)
 C++ version of gsl_vector_long_double_const_view_array_with_stride(). More...
 
template<typename ARRAY >
static vector_long_double view_array (ARRAY &v, size_t n=0)
 C++ version of gsl_vector_long_double_view_array(). More...
 
template<typename ARRAY >
static vector_long_double view_array_with_stride (ARRAY &base, size_t stride, size_t n=0)
 C++ version of gsl_vector_long_double_view_array_with_stride(). More...
 
template<typename ARRAY >
static vector_long_double const const_view_array (ARRAY const &v, size_t n=0)
 C++ version of gsl_vector_long_double _const_view_array(). More...
 
template<typename ARRAY >
static vector_long_double const const_view_array_with_stride (ARRAY const &base, size_t stride, size_t n=0)
 C++ version of gsl_vector_long_double_const_view_array_with_stride(). More...
 
static vector_long_double alloc_row_from_matrix (matrix_long_double &m, size_t const i)
 C++ version of gsl_vector_long_double_alloc_row_from_matrix(). More...
 
static vector_long_double alloc_col_from_matrix (matrix_long_double &m, size_t const j)
 C++ version of gsl_vector_long_double_alloc_col_from_matrix(). More...
 

Detailed Description

This is a pointer-like type for iterator return values.

Definition at line 237 of file matrix_long_double.hpp.

Constructor & Destructor Documentation

◆ vector_long_double_ptr()

gsl::matrix_long_double::vector_long_double_ptr::vector_long_double_ptr ( vector_long_double const &  v)
inline

Typically we have to construct from a vector_long_double.

Parameters
vThe vector_long_double to construct from.

Definition at line 242 of file matrix_long_double.hpp.

Member Function Documentation

◆ operator*()

vector_long_double & gsl::matrix_long_double::vector_long_double_ptr::operator* ( )
inline

Dereference operator.

Returns
a vector_long_double

Definition at line 247 of file matrix_long_double.hpp.

◆ operator->()

vector_long_double * gsl::matrix_long_double::vector_long_double_ptr::operator-> ( )
inline

Dereference operator.

Returns
a pointer to a vector_long_double

Definition at line 252 of file matrix_long_double.hpp.


The documentation for this struct was generated from the following file: