|
ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
|
Discrete Hankel Transforms. More...
#include <dht.hpp>

Public Member Functions | |
| dht () | |
| The default constructor is only really useful for assigning to. More... | |
| dht (size_t const size) | |
| The default constructor creates a new dht with n elements. More... | |
| dht (size_t size, double nu, double xmax) | |
| C++ version of gsl_dht_new(). More... | |
| dht (gsl_dht *v) | |
| Could construct from a gsl_dht. More... | |
| dht (dht const &v) | |
| The copy constructor. More... | |
| dht & | operator= (dht const &v) |
| The assignment operator. More... | |
| ~dht () | |
| The destructor only deletes the pointers if count reaches zero. More... | |
| dht (dht &&v) | |
| Move constructor. More... | |
| dht & | operator= (dht &&v) |
| Move operator. More... | |
| bool | operator== (dht const &v) const |
| Two dht are identically equal if their elements are identical. More... | |
| bool | operator!= (dht const &v) const |
| Two dht are different if their elements are not identical. More... | |
| bool | operator< (dht const &v) const |
| A container needs to define an ordering for sorting. More... | |
| bool | operator> (dht const &v) const |
| A container needs to define an ordering for sorting. More... | |
| bool | operator<= (dht const &v) const |
| A container needs to define an ordering for sorting. More... | |
| bool | operator>= (dht const &v) const |
| A container needs to define an ordering for sorting. More... | |
| bool | empty () const |
| Find if the dht is empty. More... | |
| void | swap (dht &v) |
| Swap two dht objects. More... | |
| gsl_dht * | get () const |
| Get the gsl_dht. More... | |
| bool | unique () const |
| Find if this is the only object sharing the gsl_dht. More... | |
| size_t | use_count () const |
| Find how many dht objects share this pointer. More... | |
| operator bool () const | |
| Allow conversion to bool. More... | |
| int | init (double nu, double xmax) |
| C++ version of gsl_dht_init(). More... | |
| double | x_sample (int n) const |
| C++ version of gsl_dht_x_sample(). More... | |
| double | k_sample (int n) const |
| C++ version of gsl_dht_k_sample(). More... | |
| int | apply (double *f_in, double *f_out) const |
| C++ version of gsl_dht_apply(). More... | |
| template<typename ARRAY > | |
| int | apply (ARRAY &f_in, ARRAY &f_out) const |
| C++ version of gsl_dht_apply(). More... | |
Private Attributes | |
| gsl_dht * | ccgsl_pointer |
| The shared pointer. More... | |
| size_t * | count |
| The shared reference count. More... | |
|
inline |
The default constructor is only really useful for assigning to.
Definition at line 36 of file dht.hpp.
References ccgsl_pointer, and count.
Referenced by operator=().
|
inlineexplicit |
The default constructor creates a new dht with n elements.
| size | The number of elements in the dht |
Definition at line 46 of file dht.hpp.
References ccgsl_pointer, count, and gsl::cheb::size().
|
inline |
C++ version of gsl_dht_new().
| size | The size |
| nu | parameter (undocumented) |
| xmax | parameter (undocumented) |
Definition at line 62 of file dht.hpp.
References ccgsl_pointer, count, and gsl::cheb::size().
|
inlineexplicit |
Could construct from a gsl_dht.
This is not usually a good idea. In this case we should not use gsl_dht_free() to deallocate the memory.
| v | The dht |
Definition at line 79 of file dht.hpp.
References ccgsl_pointer, and count.
|
inline |
The copy constructor.
This creates a new reference to the workspace.
| v | The dht to copy. |
Definition at line 90 of file dht.hpp.
References ccgsl_pointer, and count.
|
inline |
The destructor only deletes the pointers if count reaches zero.
Definition at line 109 of file dht.hpp.
References ccgsl_pointer, and count.
|
inline |
|
inline |
C++ version of gsl_dht_apply().
This version handles std::vector and gsl::vector.
| f_in | An array with size the same as the size of the transform (this) |
| f_out | An array with size the same as the size of the transform (this) [return value] |
Definition at line 287 of file dht.hpp.
References get(), and gsl::rstat::n().
|
inline |
|
inline |
Find if the dht is empty.
true if has size zero; otherwise false Definition at line 198 of file dht.hpp.
References ccgsl_pointer.
|
inline |
Get the gsl_dht.
Definition at line 224 of file dht.hpp.
References ccgsl_pointer.
Referenced by apply(), init(), k_sample(), and x_sample().
|
inline |
|
inline |
C++ version of gsl_dht_k_sample().
| n | An integer (undocumented) |
Definition at line 266 of file dht.hpp.
References get(), and gsl::rstat::n().
|
inlineexplicit |
Allow conversion to bool.
true or false according as this contains a pointer to a gsl_dht. Definition at line 244 of file dht.hpp.
References ccgsl_pointer.
|
inline |
Two dht are different if their elements are not identical.
| v | The dht to be compared with this |
false or true according as this and v have identical elements or not Definition at line 151 of file dht.hpp.
References operator==().
|
inline |
A container needs to define an ordering for sorting.
This uses standard lexicographical ordering and so is not useful, for example, for checking, that a dht is nonnegative.
| v | The dht to be compared with this |
false or true according as this is less than v lexicographically Definition at line 163 of file dht.hpp.
References ccgsl_pointer.
|
inline |
A container needs to define an ordering for sorting.
This uses standard lexicographical ordering and so is not useful, for example, for checking, that a dht is nonnegative.
| v | The dht to be compared with this |
false or true according as this is less than or equal to v lexicographically Definition at line 183 of file dht.hpp.
References ccgsl_pointer.
The assignment operator.
This copies elementwise.
| v | The dht to copy |
Definition at line 97 of file dht.hpp.
References ccgsl_pointer, and count.
|
inline |
Two dht are identically equal if their elements are identical.
| v | The dht to be compared with this |
true or false according as this and v have identical elements or not Definition at line 143 of file dht.hpp.
References ccgsl_pointer.
Referenced by operator!=().
|
inline |
A container needs to define an ordering for sorting.
This uses standard lexicographical ordering and so is not useful, for example, for checking, that a dht is nonnegative.
| v | The dht to be compared with this |
false or true according as this is greater than v lexicographically Definition at line 173 of file dht.hpp.
References ccgsl_pointer.
|
inline |
A container needs to define an ordering for sorting.
This uses standard lexicographical ordering and so is not useful, for example, for checking, that a dht is nonnegative.
| v | The dht to be compared with this |
false or true according as this is no less than v lexicographically Definition at line 193 of file dht.hpp.
References ccgsl_pointer.
|
inline |
Swap two dht objects.
This works even if the dht have different sizes because it swaps pointers.
| v | The dht to swap with this. |
Definition at line 205 of file dht.hpp.
References ccgsl_pointer, and count.
|
inline |
|
inline |
|
inline |
C++ version of gsl_dht_x_sample().
| n | An integer (undocumented) |
Definition at line 259 of file dht.hpp.
References get(), and gsl::rstat::n().
|
private |
The shared pointer.
Definition at line 213 of file dht.hpp.
Referenced by dht(), empty(), get(), operator bool(), operator<(), operator<=(), operator=(), operator==(), operator>(), operator>=(), swap(), and ~dht().
|
private |
The shared reference count.
Definition at line 217 of file dht.hpp.
Referenced by dht(), operator=(), swap(), unique(), use_count(), and ~dht().