6#include <guanaqo/dl.hpp>
46using csetup =
Function<
"cutest_cint_csetup_", void(
integer *status,
const integer *funit,
const integer *iout,
const integer *io_buffer,
integer *n,
integer *m,
doublereal *x,
doublereal *bl,
doublereal *bu,
doublereal *v,
doublereal *cl,
doublereal *cu,
logical *equatn,
logical *linear,
const integer *e_order,
const integer *l_order,
const integer *v_order)>;
60using ccfg =
Function<
"cutest_cint_ccfg_", void(
integer *status,
const integer *n,
const integer *m,
const doublereal *x,
doublereal *c,
const logical *jtrans,
const integer *lcjac1,
const integer *lcjac2,
doublereal *cjac,
const logical *grad)>;
62using ccfsg =
Function<
"cutest_cint_ccfsg_", void(
integer *status,
const integer *n,
const integer *m,
const doublereal *x,
doublereal *c,
integer *nnzj,
const integer *lcjac,
doublereal *cjac,
integer *indvar,
integer *indfun,
const logical *grad)>;
66using csh =
Function<
"cutest_csh_", void(
integer *status,
const integer *n,
const integer *m,
const doublereal *x,
const doublereal *y,
integer *nnzh,
const integer *lh,
doublereal *h,
integer *irnh,
integer *icnh)>;
69using cjprod =
Function<
"cutest_cjprod_", void(
integer *status,
const integer *n,
const integer *m,
const logical *gotj,
const logical *jtrans,
const doublereal *x,
const doublereal *p,
const integer *lp,
doublereal *r,
const integer *lr)>;
76template <Name Nm,
class Sgn>
78 static_assert(
name.value.back() ==
'\0');
79 auto func = guanaqo::load_func(handle,
name.value.data());
Function<"cutest_cint_cofg_", void(integer *status, const integer *n, const doublereal *x, doublereal *f, doublereal *g, const logical *grad)> cofg
Function<"cutest_cigr_", void(integer *status, const integer *n, const integer *iprob, const doublereal *x, doublereal *g)> cigr
Function<"cutest_cint_ccfg_", void(integer *status, const integer *n, const integer *m, const doublereal *x, doublereal *c, const logical *jtrans, const integer *lcjac1, const integer *lcjac2, doublereal *cjac, const logical *grad)> ccfg
Function<"cutest_ureport_", void(integer *status, doublereal *calls, doublereal *time)> ureport
Function<"cutest_cdimsj_", void(integer *status, integer *nnzj)> cdimsj
Function<"cutest_cint_ccfsg_", void(integer *status, const integer *n, const integer *m, const doublereal *x, doublereal *c, integer *nnzj, const integer *lcjac, doublereal *cjac, integer *indvar, integer *indfun, const logical *grad)> ccfsg
Function<"cutest_cdimsh_", void(integer *status, integer *nnzh)> cdimsh
Function<"cutest_cfn_", void(integer *status, const integer *n, const integer *m, const doublereal *x, doublereal *f, doublereal *c)> cfn
Function<"cutest_cjprod_", void(integer *status, const integer *n, const integer *m, const logical *gotj, const logical *jtrans, const doublereal *x, const doublereal *p, const integer *lp, doublereal *r, const integer *lr)> cjprod
Function<"fortran_open_", void(const integer *funit, const char *fname, integer *ierr)> fortran_open
Function<"cutest_cshp_", void(integer *status, const integer *n, integer *nnzh, const integer *lh, integer *irnh, integer *icnh)> cshp
Function<"cutest_cint_clfg_", void(integer *status, const integer *n, const integer *m, const doublereal *x, const doublereal *y, doublereal *f, doublereal *g, const logical *grad)> clfg
Function<"cutest_cint_csetup_", void(integer *status, const integer *funit, const integer *iout, const integer *io_buffer, integer *n, integer *m, doublereal *x, doublereal *bl, doublereal *bu, doublereal *v, doublereal *cl, doublereal *cu, logical *equatn, logical *linear, const integer *e_order, const integer *l_order, const integer *v_order)> csetup
Function<"cutest_csh_", void(integer *status, const integer *n, const integer *m, const doublereal *x, const doublereal *y, integer *nnzh, const integer *lh, doublereal *h, integer *irnh, integer *icnh)> csh
Function<"cutest_cterminate_", void(integer *status)> cterminate
Function<"cutest_probname_", void(integer *status, char *pname)> probname
Function<"fortran_close_", void(const integer *funit, integer *ierr)> fortran_close
Function<"cutest_cdimen_", void(integer *status, const integer *funit, integer *n, integer *m)> cdimen
Function<"cutest_cdh_", void(integer *status, const integer *n, const integer *m, const doublereal *x, const doublereal *y, const integer *lh1, doublereal *h)> cdh
Function<"cutest_cint_ccifg_", void(integer *status, const integer *n, const integer *icon, const doublereal *x, doublereal *ci, doublereal *gci, const logical *grad)> ccifg
Function<"cutest_creport_", void(integer *status, doublereal *calls, doublereal *time)> creport
Function<"cutest_csjp_", void(integer *status, integer *nnzj, const integer *lj, integer *J_var, integer *J_con)> csjp
Function<"cutest_chprod_", void(integer *status, const integer *n, const integer *m, const logical *goth, const doublereal *x, const doublereal *y, doublereal *p, doublereal *q)> chprod
Reference to CUTEst function.
static signature_t * load(void *handle)
static constexpr Name name