![]() |
![]() |
![]() |
gtk-hst reference manual | ![]() |
---|---|---|---|---|
#include <gtk-hst/function2d.h> #define HST_FUNCTION2D_X (obj) #define HST_FUNCTION2D_Y (obj) HstFunction2D; HstFunction2DClass; HstFunction2D* hst_function2d_new (int n, double xmin, double xmax, int ny, double ymin, double ymax, Hst2DFunction ptr); double hst_function2d_eval (HstFunction2D *h2d, double x, double y); int hst_function2d_find_bin_from_cell (HstFunction2D *h2d, int ix, int iy); void hst_function2d_find_cell_from_bin (HstFunction2D *h2d, int ib, int *ix, int *iy); HstFunction* hst_function2d_X (HstFunction2D *h2d); HstFunction* hst_function2d_Y (HstFunction2D *h2d); double (*Hst2DFunction) (double , double );
"npts" gint : Read "ny" gint : Read / Write "ymax" gdouble : Read / Write "ymin" gdouble : Read / Write "ystep" gdouble : Read / Write
typedef struct { HstFunctionClass parent_class; double (*eval2d)(HstFunction2D *,double,double); } HstFunction2DClass;
HstFunction2D* hst_function2d_new (int n, double xmin, double xmax, int ny, double ymin, double ymax, Hst2DFunction ptr);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |
double hst_function2d_eval (HstFunction2D *h2d, double x, double y);
|
|
|
|
|
|
Returns : |
int hst_function2d_find_bin_from_cell (HstFunction2D *h2d, int ix, int iy);
|
|
|
|
|
|
Returns : |
void hst_function2d_find_cell_from_bin (HstFunction2D *h2d, int ib, int *ix, int *iy);
|
|
|
|
|
|
|