16#if !defined(ADOLC_DRIVERS_PSDRIVERS_H)
17#define ADOLC_DRIVERS_PSDRIVERS_H 1
51template <UpdateConsts uc = UpdateConsts::True>
58 std::span<const double> x,
63 std::span<const double> x,
76 double *,
double **,
short *);
156 double *y,
double *z,
double **Y,
double **J,
157 double **Z,
double **L);
#define ADOLC_API
Definition adolcexport.h:16
#define BEGIN_C_DECLS
Definition common.h:115
#define END_C_DECLS
Definition common.h:116
Definition adtl_indo.h:46
ADOLC_API int abs_normal(short tapeId, std::span< const double > x, AbsNormalForm &anf)
Compute the abs-normal form of a taped function at a point.
UpdateConsts
Compile-time selector for constant-term updates in ADOLC::abs_normal.
Definition psdrivers.h:34
ADOLC_API int abs_normal< UpdateConsts::False >(short tapeId, std::span< const double > x, AbsNormalForm &anf)
Specialization that leaves cy and cz unchanged.
ADOLC_API int abs_normal< UpdateConsts::True >(short tapeId, std::span< const double > x, AbsNormalForm &anf)
Specialization that updates cy and cz after evaluation.
BEGIN_C_DECLS ADOLC_API fint directional_active_gradient_(fint, fint, double *, double *, double *, double **, short *)
ADOLC_API int abs_normal(short tag, int m, int n, int swchk, const double *x, double *y, double *z, double **Y, double **J, double **Z, double **L)
Compute the ABS-normal form of a taped function.
ADOLC_API int directional_active_gradient(short tag, int n, const double *x, const double *d, double *g, short *sigma_g)
ADOLC_API fint abs_normal_(fint *ftag, fint *fdepen, fint *findep, fint *fswchk, fdouble *fx, fdouble *fy, fdouble *fz, fdouble *fcz, fdouble *fcy, fdouble *fJ, fdouble *fY, fdouble *fZ, fdouble *fL)
#define fint
Definition usrparms.h:38
#define fdouble
Definition usrparms.h:39