|
ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
|
Interpolation. More...
#include <interp2d.hpp>

Public Types | |
| typedef gsl_interp2d_type | type |
| Convenient typedef. More... | |
Public Member Functions | |
| interp2d () | |
| The default constructor is only really useful for assigning to. More... | |
| interp2d (type const *T, size_t const xsize, size_t const ysize) | |
| The default constructor creates a new interp with n elements. More... | |
| interp2d (gsl_interp2d *v) | |
| Could construct from a gsl_interp2d. More... | |
| interp2d (interp2d const &v) | |
| The copy constructor. More... | |
| interp2d & | operator= (interp2d const &v) |
| The assignment operator. More... | |
| ~interp2d () | |
| The destructor only deletes the pointers if count reaches zero. More... | |
| interp2d (interp2d &&v) | |
| Move constructor. More... | |
| interp2d & | operator= (interp2d &&v) |
| Move operator. More... | |
| bool | operator== (interp2d const &v) const |
| Two interp2d are identically equal if their elements are identical. More... | |
| bool | operator!= (interp2d const &v) const |
| Two interp2d are different if their elements are not identical. More... | |
| bool | operator< (interp2d const &v) const |
| A container needs to define an ordering for sorting. More... | |
| bool | operator> (interp2d const &v) const |
| A container needs to define an ordering for sorting. More... | |
| bool | operator<= (interp2d const &v) const |
| A container needs to define an ordering for sorting. More... | |
| bool | operator>= (interp2d const &v) const |
| A container needs to define an ordering for sorting. More... | |
| bool | empty () const |
| Find if the interp2d is empty. More... | |
| void | swap (interp2d &v) |
| Swap two interp2d objects. More... | |
| gsl_interp2d * | get () const |
| Get the gsl_interp2d. More... | |
| bool | unique () const |
| Find if this is the only object sharing the gsl_interp2d. More... | |
| size_t | use_count () const |
| Find how many interp2d objects share this pointer. More... | |
| operator bool () const | |
| Allow conversion to bool. More... | |
| char const * | name () const |
| C++ version of gsl_interp2d_name(). More... | |
| size_t | min_size () const |
| C++ version of gsl_interp2d_min_size(). More... | |
| int | set (double zarr[], size_t const i, size_t const j, double const z) const |
| C++ version of gsl_interp2d_set(). More... | |
| template<typename ARRAY > | |
| int | set (ARRAY &zarr, size_t const i, size_t const j, double const z) const |
| C++ version of gsl_interp2d_set(). More... | |
| double | get (double const zarr[], size_t const i, size_t const j) const |
| C++ version of gsl_interp2d_get(). More... | |
| template<typename ARRAY > | |
| double | get (ARRAY const &zarr, size_t const i, size_t const j) const |
| C++ version of gsl_interp2d_get(). More... | |
| size_t | idx (size_t const i, size_t const j) const |
| C++ version of gsl_interp2d_idx(). More... | |
| int | init (double const xa[], double const ya[], double const za[], size_t const xsize, size_t const ysize) |
| C++ version of gsl_interp2d_init(). More... | |
| template<typename VECTOR > | |
| int | init (VECTOR const &xa, VECTOR const &ya, VECTOR const &za) |
| C++ version of gsl_interp2d_init(). More... | |
| double | eval (double const xarr[], double const yarr[], double const zarr[], double const x, double const y, interp::accel &xa, interp::accel &ya) const |
| C++ version of gsl_interp2d_eval(). More... | |
| template<typename VECTOR > | |
| double | eval (VECTOR const &xarr, VECTOR const &yarr, VECTOR const &zarr, double const x, double const y, interp::accel &xa, interp::accel &ya) const |
| C++ version of gsl_interp2d_eval(). More... | |
| double | eval_extrap (double const xarr[], double const yarr[], double const zarr[], double const x, double const y, interp::accel &xa, interp::accel &ya) const |
| C++ version of gsl_interp2d_eval_extrap(). More... | |
| template<typename VECTOR > | |
| double | eval_extrap (VECTOR const &xarr, VECTOR const &yarr, VECTOR const &zarr, double const x, double const y, interp::accel &xa, interp::accel &ya) const |
| C++ version of gsl_interp2d_eval_extrap(). More... | |
| int | eval_e (double const xarr[], double const yarr[], double const zarr[], double const x, double const y, interp::accel &xa, interp::accel &ya, double &z) const |
| C++ version of gsl_interp2d_eval_e(). More... | |
| template<typename VECTOR > | |
| int | eval_e (VECTOR const &xarr, VECTOR const &yarr, VECTOR const &zarr, double const x, double const y, interp::accel &xa, interp::accel &ya, double &z) const |
| C++ version of gsl_interp2d_eval_e(). More... | |
| int | eval_e_extrap (double const xarr[], double const yarr[], double const zarr[], double const x, double const y, interp::accel &xa, interp::accel &ya, double &z) const |
| C++ version of gsl_interp2d_eval_e_extrap(). More... | |
| template<typename VECTOR > | |
| int | eval_e_extrap (VECTOR const &xarr, VECTOR const &yarr, VECTOR const &zarr, double const x, double const y, interp::accel &xa, interp::accel &ya, double &z) const |
| C++ version of gsl_interp2d_eval_e_extrap(). More... | |
| double | eval_deriv_x (double const xarr[], double const yarr[], double const zarr[], double const x, double const y, interp::accel &xa, interp::accel &ya) const |
| C++ version of gsl_interp2d_eval_deriv_x(). More... | |
| template<typename VECTOR > | |
| double | eval_deriv_x (VECTOR const &xarr, VECTOR const &yarr, VECTOR const &zarr, double const x, double const y, interp::accel &xa, interp::accel &ya) const |
| C++ version of gsl_interp2d_eval_deriv_x(). More... | |
| int | eval_deriv_x_e (double const xarr[], double const yarr[], double const zarr[], double const x, double const y, interp::accel &xa, interp::accel &ya, double &z) const |
| C++ version of gsl_interp2d_eval_deriv_x_e(). More... | |
| template<typename VECTOR > | |
| int | eval_deriv_x_e (VECTOR const &xarr, VECTOR const &yarr, VECTOR const &zarr, double const x, double const y, interp::accel &xa, interp::accel &ya, double &z) const |
| C++ version of gsl_interp2d_eval_deriv_x_e(). More... | |
| double | eval_deriv_y (double const xarr[], double const yarr[], double const zarr[], double const x, double const y, interp::accel &xa, interp::accel &ya) const |
| C++ version of gsl_interp2d_eval_deriv_y(). More... | |
| template<typename VECTOR > | |
| double | eval_deriv_y (VECTOR const &xarr, VECTOR const &yarr, VECTOR const &zarr, double const x, double const y, interp::accel &xa, interp::accel &ya) const |
| C++ version of gsl_interp2d_eval_deriv_y(). More... | |
| int | eval_deriv_y_e (double const xarr[], double const yarr[], double const zarr[], double const x, double const y, interp::accel &xa, interp::accel &ya, double &z) const |
| C++ version of gsl_interp2d_eval_deriv_y_e(). More... | |
| template<typename VECTOR > | |
| int | eval_deriv_y_e (VECTOR const &xarr, VECTOR const &yarr, VECTOR const &zarr, double const x, double const y, interp::accel &xa, interp::accel &ya, double &z) const |
| C++ version of gsl_interp2d_eval_deriv_y_e(). More... | |
| double | eval_deriv_xx (double const xarr[], double const yarr[], double const zarr[], double const x, double const y, interp::accel &xa, interp::accel &ya) const |
| C++ version of gsl_interp2d_eval_deriv_xx(). More... | |
| template<typename VECTOR > | |
| double | eval_deriv_xx (VECTOR const &xarr, VECTOR const &yarr, VECTOR const &zarr, double const x, double const y, interp::accel &xa, interp::accel &ya) const |
| C++ version of gsl_interp2d_eval_deriv_xx(). More... | |
| int | eval_deriv_xx_e (double const xarr[], double const yarr[], double const zarr[], double const x, double const y, interp::accel &xa, interp::accel &ya, double &z) const |
| C++ version of gsl_interp2d_eval_deriv_xx_e(). More... | |
| template<typename VECTOR > | |
| int | eval_deriv_xx_e (VECTOR const &xarr, VECTOR const &yarr, VECTOR const &zarr, double const x, double const y, interp::accel &xa, interp::accel &ya, double &z) const |
| C++ version of gsl_interp2d_eval_deriv_xx_e(). More... | |
| double | eval_deriv_yy (double const xarr[], double const yarr[], double const zarr[], double const x, double const y, interp::accel &xa, interp::accel &ya) const |
| C++ version of gsl_interp2d_eval_deriv_yy(). More... | |
| template<typename VECTOR > | |
| double | eval_deriv_yy (VECTOR const &xarr, VECTOR const &yarr, VECTOR const &zarr, double const x, double const y, interp::accel &xa, interp::accel &ya) const |
| C++ version of gsl_interp2d_eval_deriv_yy(). More... | |
| int | eval_deriv_yy_e (double const xarr[], double const yarr[], double const zarr[], double const x, double const y, interp::accel &xa, interp::accel &ya, double &z) const |
| C++ version of gsl_interp2d_eval_deriv_yy_e(). More... | |
| template<typename VECTOR > | |
| int | eval_deriv_yy_e (VECTOR const &xarr, VECTOR const &yarr, VECTOR const &zarr, double const x, double const y, interp::accel &xa, interp::accel &ya, double &z) const |
| C++ version of gsl_interp2d_eval_deriv_yy_e(). More... | |
| double | eval_deriv_xy (double const xarr[], double const yarr[], double const zarr[], double const x, double const y, interp::accel &xa, interp::accel &ya) const |
| C++ version of gsl_interp2d_eval_deriv_xy(). More... | |
| template<typename VECTOR > | |
| double | eval_deriv_xy (VECTOR const &xarr, VECTOR const &yarr, VECTOR const &zarr, double const x, double const y, interp::accel &xa, interp::accel &ya) const |
| C++ version of gsl_interp2d_eval_deriv_xy(). More... | |
| int | eval_deriv_xy_e (double const xarr[], double const yarr[], double const zarr[], double const x, double const y, interp::accel &xa, interp::accel &ya, double &z) const |
| C++ version of gsl_interp2d_eval_deriv_xy_e(). More... | |
| template<typename VECTOR > | |
| int | eval_deriv_xy_e (VECTOR const &xarr, VECTOR const &yarr, VECTOR const &zarr, double const x, double const y, interp::accel &xa, interp::accel &ya, double &z) const |
| C++ version of gsl_interp2d_eval_deriv_xy_e(). More... | |
Static Public Member Functions | |
| static size_t | type_min_size (type const *T) |
| C++ version of gsl_interp2d_type_min_size(). More... | |
| static type const * | bilinear () |
| 2D interpolation static type. More... | |
| static type const * | bicubic () |
| 2D interpolation static type. More... | |
Private Attributes | |
| gsl_interp2d * | ccgsl_pointer |
| The shared pointer. More... | |
| size_t * | count |
| The shared reference count. More... | |
Interpolation.
Definition at line 31 of file interp2d.hpp.
| typedef gsl_interp2d_type gsl::interp2d::type |
Convenient typedef.
Definition at line 36 of file interp2d.hpp.
|
inline |
The default constructor is only really useful for assigning to.
Definition at line 40 of file interp2d.hpp.
References ccgsl_pointer, and count.
Referenced by operator=().
|
inlineexplicit |
The default constructor creates a new interp with n elements.
| T | The interpolation type |
| xsize | Number of grid points in first direction |
| ysize | Number of grid points in second direction |
Definition at line 52 of file interp2d.hpp.
References ccgsl_pointer, and count.
|
inlineexplicit |
Could construct from a gsl_interp2d.
This is not usually a good idea. In this case we should not use gsl_interp2d_free() to deallocate the memory.
| v | The interp2d |
Definition at line 68 of file interp2d.hpp.
References ccgsl_pointer, and count.
|
inline |
The copy constructor.
This creates a new reference to the workspace.
| v | The interp2d to copy. |
Definition at line 79 of file interp2d.hpp.
References ccgsl_pointer, and count.
|
inline |
The destructor only deletes the pointers if count reaches zero.
Definition at line 98 of file interp2d.hpp.
References ccgsl_pointer, and count.
|
inline |
Move constructor.
| v | The interp2d to move. |
Definition at line 110 of file interp2d.hpp.
References count.
|
inlinestatic |
|
inlinestatic |
|
inline |
Find if the interp2d is empty.
true if has size zero; otherwise false Definition at line 187 of file interp2d.hpp.
References ccgsl_pointer.
|
inline |
C++ version of gsl_interp2d_eval().
| xarr[] | The array of x values |
| yarr[] | The array of y values |
| zarr[] | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
Definition at line 339 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval().
This version allows us to use std::vector or gsl::vector objects.
| xarr | The array of x values |
| yarr | The array of y values |
| zarr | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
Definition at line 355 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_x().
| xarr[] | The array of x values |
| yarr[] | The array of y values |
| zarr[] | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
Definition at line 523 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_x().
This version allows us to use std::vector or gsl::vector objects.
| xarr | The array of x values |
| yarr | The array of y values |
| zarr | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
Definition at line 541 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_x_e().
| xarr[] | The array of x values |
| yarr[] | The array of y values |
| zarr[] | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
| z | Interpolated derivative of z with respect to x |
Definition at line 560 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_x_e().
This version allows us to use std::vector or gsl::vector objects.
| xarr | The array of x values |
| yarr | The array of y values |
| zarr | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
| z | Interpolated derivative of z with respect to x |
Definition at line 579 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_xx().
| xarr[] | The array of x values |
| yarr[] | The array of y values |
| zarr[] | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
Definition at line 671 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_xx().
This version allows us to use std::vector or gsl::vector objects.
| xarr | The array of x values |
| yarr | The array of y values |
| zarr | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
Definition at line 689 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_xx_e().
| xarr[] | The array of x values |
| yarr[] | The array of y values |
| zarr[] | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
| z | Second derivative with respect to x |
Definition at line 708 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_xx_e().
This version allows us to use std::vector or gsl::vector objects.
| xarr | The array of x values |
| yarr | The array of y values |
| zarr | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
| z | Second derivative with respect to x |
Definition at line 727 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_xy().
| xarr[] | The array of x values |
| yarr[] | The array of y values |
| zarr[] | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
Definition at line 819 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_xy().
This version allows us to use std::vector or gsl::vector objects.
| xarr | The array of x values |
| yarr | The array of y values |
| zarr | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
Definition at line 837 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_xy_e().
| xarr[] | The array of x values |
| yarr[] | The array of y values |
| zarr[] | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
| z | Second derivative with respect to x and y |
Definition at line 856 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_xy_e().
This version allows us to use std::vector or gsl::vector objects.
| xarr | The array of x values |
| yarr | The array of y values |
| zarr | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
| z | Second derivative with respect to x and y |
Definition at line 875 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_y().
| xarr[] | The array of x values |
| yarr[] | The array of y values |
| zarr[] | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
Definition at line 597 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_y().
This version allows us to use std::vector or gsl::vector objects.
| xarr | The array of x values |
| yarr | The array of y values |
| zarr | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
Definition at line 615 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_y_e().
| xarr[] | The array of x values |
| yarr[] | The array of y values |
| zarr[] | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
| z | Interpolated derivative of z with respect to y |
Definition at line 634 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_y_e().
This version allows us to use std::vector or gsl::vector objects.
| xarr | The array of x values |
| yarr | The array of y values |
| zarr | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
| z | Interpolated derivative of z with respect to y |
Definition at line 653 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_yy().
| xarr[] | The array of x values |
| yarr[] | The array of y values |
| zarr[] | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
Definition at line 745 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_yy().
This version allows us to use std::vector or gsl::vector objects.
| xarr | The array of x values |
| yarr | The array of y values |
| zarr | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
Definition at line 763 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_yy_e().
| xarr[] | The array of x values |
| yarr[] | The array of y values |
| zarr[] | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
| z | Second derivative with respect to y |
Definition at line 782 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_deriv_yy_e().
This version allows us to use std::vector or gsl::vector objects.
| xarr | The array of x values |
| yarr | The array of y values |
| zarr | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
| z | Second derivative with respect to y |
Definition at line 801 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_e().
| xarr[] | The array of x values |
| yarr[] | The array of y values |
| zarr[] | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
| z | Interpolated z value |
Definition at line 409 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_e().
This version allows us to use std::vector or gsl::vector objects.
| xarr | The array of x values |
| yarr | The array of y values |
| zarr | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
| z | Interpolated z value |
Definition at line 428 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_e_extrap().
| xarr[] | UNDOCUMENTED |
| yarr[] | UNDOCUMENTED |
| zarr[] | UNDOCUMENTED |
| x | UNDOCUMENTED |
| y | UNDOCUMENTED |
| xa | UNDOCUMENTED |
| ya | UNDOCUMENTED |
| z | UNDOCUMENTED |
Definition at line 448 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_e_extrap().
This version allows us to use std::vector or gsl::vector objects.
| xarr | UNDOCUMENTED |
| yarr | UNDOCUMENTED |
| zarr | UNDOCUMENTED |
| x | UNDOCUMENTED |
| y | UNDOCUMENTED |
| xa | UNDOCUMENTED |
| ya | UNDOCUMENTED |
| z | UNDOCUMENTED |
Definition at line 467 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_extrap().
| xarr[] | The array of x values |
| yarr[] | The array of y values |
| zarr[] | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
Definition at line 372 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
C++ version of gsl_interp2d_eval_extrap().
This version allows us to use std::vector or gsl::vector objects.
| xarr | The array of x values |
| yarr | The array of y values |
| zarr | The array of z values |
| x | x value |
| y | y value |
| xa | x accelerator |
| ya | y accelerator |
Definition at line 390 of file interp2d.hpp.
References gsl::interp::accel::get(), and get().
|
inline |
Get the gsl_interp2d.
Definition at line 213 of file interp2d.hpp.
References ccgsl_pointer.
Referenced by eval(), eval_deriv_x(), eval_deriv_x_e(), eval_deriv_xx(), eval_deriv_xx_e(), eval_deriv_xy(), eval_deriv_xy_e(), eval_deriv_y(), eval_deriv_y_e(), eval_deriv_yy(), eval_deriv_yy_e(), eval_e(), eval_e_extrap(), eval_extrap(), get(), idx(), init(), min_size(), name(), and set().
|
inline |
C++ version of gsl_interp2d_get().
| zarr | An array of size xsize × ysize |
| i | x index in 0,…,xsize−1 |
| j | y index in 0,…,ysize−1 |
Definition at line 290 of file interp2d.hpp.
References get().
|
inline |
C++ version of gsl_interp2d_get().
| zarr[] | An array of size xsize × ysize |
| i | x index in 0,…,xsize−1 |
| j | y index in 0,…,ysize−1 |
Definition at line 280 of file interp2d.hpp.
References get().
|
inline |
C++ version of gsl_interp2d_idx().
| i | First index |
| j | Second index |
Definition at line 300 of file interp2d.hpp.
References get().
|
inline |
C++ version of gsl_interp2d_init().
| xa[] | The array of x values |
| ya[] | The array of y values |
| za[] | The array of z values |
| xsize | The size of xa |
| ysize | The size of ya |
Definition at line 311 of file interp2d.hpp.
References get().
|
inline |
C++ version of gsl_interp2d_init().
This version allows us to use std::vector or gsl::vector objects.
| xa | The array of x values |
| ya | The array of y values |
| za | The array of z values |
Definition at line 323 of file interp2d.hpp.
References get().
|
inline |
C++ version of gsl_interp2d_min_size().
this Definition at line 243 of file interp2d.hpp.
References get().
|
inline |
C++ version of gsl_interp2d_name().
Definition at line 238 of file interp2d.hpp.
References get().
|
inlineexplicit |
Allow conversion to bool.
true or false according as this contains a pointer to a gsl_interp2d. Definition at line 233 of file interp2d.hpp.
References ccgsl_pointer.
|
inline |
Two interp2d are different if their elements are not identical.
| v | The interp2d to be compared with this |
false or true according as this and v have identical elements or not Definition at line 140 of file interp2d.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 interp2d is nonnegative.
| v | The interp2d to be compared with this |
false or true according as this is less than v lexicographically Definition at line 152 of file interp2d.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 interp2d is nonnegative.
| v | The interp2d to be compared with this |
false or true according as this is less than or equal to v lexicographically Definition at line 172 of file interp2d.hpp.
References ccgsl_pointer.
Move operator.
| v | The interp2d to move. |
Definition at line 119 of file interp2d.hpp.
References interp2d().
The assignment operator.
This copies elementwise.
| v | The interp2d to copy |
Definition at line 86 of file interp2d.hpp.
References ccgsl_pointer, and count.
|
inline |
Two interp2d are identically equal if their elements are identical.
| v | The interp2d to be compared with this |
true or false according as this and v have identical elements or not Definition at line 132 of file interp2d.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 interp2d is nonnegative.
| v | The interp2d to be compared with this |
false or true according as this is greater than v lexicographically Definition at line 162 of file interp2d.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 interp2d is nonnegative.
| v | The interp2d to be compared with this |
false or true according as this is no less than v lexicographically Definition at line 182 of file interp2d.hpp.
References ccgsl_pointer.
|
inline |
C++ version of gsl_interp2d_set().
| zarr | An array of size xsize × ysize |
| i | x index in 0,…,xsize−1 |
| j | y index in 0,…,ysize−1 |
| z | The value to be set |
Definition at line 269 of file interp2d.hpp.
References get().
|
inline |
C++ version of gsl_interp2d_set().
| zarr[] | An array of size xsize × ysize |
| i | x index in 0,…,xsize−1 |
| j | y index in 0,…,ysize−1 |
| z | The value to be set |
Definition at line 258 of file interp2d.hpp.
References get().
|
inline |
Swap two interp2d objects.
This works even if the interp2d have different sizes because it swaps pointers.
| v | The interp2d to swap with this. |
Definition at line 194 of file interp2d.hpp.
References ccgsl_pointer, and count.
|
inlinestatic |
C++ version of gsl_interp2d_type_min_size().
| T | An interpolation type |
T Definition at line 249 of file interp2d.hpp.
|
inline |
Find if this is the only object sharing the gsl_interp2d.
true or falses according as this is the only interp2d object sharing the gsl_interp2d. Definition at line 219 of file interp2d.hpp.
References count.
|
inline |
Find how many interp2d objects share this pointer.
Definition at line 224 of file interp2d.hpp.
References count.
|
private |
The shared pointer.
Definition at line 202 of file interp2d.hpp.
Referenced by empty(), get(), interp2d(), operator bool(), operator<(), operator<=(), operator=(), operator==(), operator>(), operator>=(), swap(), and ~interp2d().
|
private |
The shared reference count.
Definition at line 206 of file interp2d.hpp.
Referenced by interp2d(), operator=(), swap(), unique(), use_count(), and ~interp2d().