25 #include <cpl_macros.h>
26 #include <cpl_matrix.h>
34 typedef struct GiChebyshev2D GiChebyshev2D;
37 GiChebyshev2D *giraffe_chebyshev2d_new(cxint xorder, cxint yorder);
38 GiChebyshev2D *giraffe_chebyshev2d_clone(
const GiChebyshev2D *other);
39 void giraffe_chebyshev2d_delete(GiChebyshev2D *
self);
41 void giraffe_chebyshev2d_get_order(
const GiChebyshev2D *
self, cxint *xorder,
43 void giraffe_chebyshev2d_get_range(
const GiChebyshev2D *
self, cxdouble *ax,
44 cxdouble *bx, cxdouble *ay, cxdouble *by);
46 const cpl_matrix *giraffe_chebyshev2d_coeffs(
const GiChebyshev2D *
self);
48 cxint giraffe_chebyshev2d_set(GiChebyshev2D *
self, cxdouble ax, cxdouble bx,
49 cxdouble ay, cxdouble by, cpl_matrix *coeffs);
50 cxint giraffe_chebyshev2d_set_coeff(GiChebyshev2D *
self, cxint i, cxint j,
53 cxdouble giraffe_chebyshev2d_eval(
const GiChebyshev2D *
self, cxdouble x,