c-api

Header

interfaces/CInterface/GaussJacobiQuadCInterp.h (installed with meson when configured).

Preferred entry

int gauss_jacobi_rule_c(int npts, double alpha, double beta,
                        double *x, double *wts, const char *method);
const char *gjp_status_string(int status);

C++ helper

inline int gauss_jacobi_rule(int npts, double alpha, double beta,
                             double *x, double *wts,
                             const char *method = nullptr);

Status enum

GJP_OK, GJP_ERR_NPTS, GJP_ERR_ALPHA, GJP_ERR_BETA, GJP_ERR_METHOD, GJP_ERR_BOGAERT_AB, GJP_ERR_BOGAERT_N.

Legacy

gauss_jacobi_c (pointer scalars; exits on error), gauss_jacobi_rec_c, gauss_jacobi_gw_c, gauss_jacobi_algo665_c.

Howto recipes: Howto · Bindings.