ADOL-C: Automatic Differentiation in C/C++ 2.7.3
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
externfcts2.h File Reference
#include <adolc/adolcexport.h>
#include <adolc/internal/common.h>
Include dependency graph for externfcts2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ext_diff_fct_v2
 Callback descriptor for a block-structured external function. More...
 

Typedefs

using ADOLC_ext_fct_v2 = int(short tapeId, size_t iArrLen, size_t *iArr, size_t nin, size_t nout, size_t *insz, double **x, size_t *outsz, double **y, void *ctx)
 
using ADOLC_ext_fct_v2_fos_forward = int(short tapeId, size_t iArrLen, size_t *iArr, size_t nin, size_t nout, size_t *insz, double **x, double **xp, size_t *outsz, double **y, double **yp, void *ctx)
 
using ADOLC_ext_fct_v2_fov_forward = int(short tapeId, size_t iArrLen, size_t *iArr, size_t nin, size_t nout, size_t *insz, double **x, size_t ndir, double ***Xp, size_t *outsz, double **y, double ***Yp, void *ctx)
 
using ADOLC_ext_fct_v2_fos_reverse = int(short tapeId, size_t iArrLen, size_t *iArr, size_t nout, size_t nin, size_t *outsz, double **up, size_t *insz, double **zp, double **x, double **y, void *ctx)
 
using ADOLC_ext_fct_v2_fov_reverse = int(short tapeId, size_t iArrLen, size_t *iArr, size_t nout, size_t nin, size_t *outsz, size_t dir, double ***Up, size_t *insz, double ***Zp, double **x, double **y, void *ctx)
 
using ADOLC_ext_fct_v2_hos_forward = int(short tapeId, size_t iArrLen, size_t *iArr, size_t nin, size_t nout, size_t *insz, double **x, size_t degree, double ***Xp, size_t *outsz, double **y, double ***Yp, void *ctx)
 
using ADOLC_ext_fct_v2_hov_forward = int(short tapeId, size_t iArrLen, size_t *iArr, size_t nin, size_t nout, size_t *insz, double **x, size_t degree, size_t ndir, double ****Xp, size_t *outsz, double **y, double ****Yp, void *ctx)
 

Functions

ADOLC_API ext_diff_fct_v2 * reg_ext_fct (short tapeId, short extTapeId, ADOLC_ext_fct_v2 ext_fct)
 
ADOLC_API ext_diff_fct_v2 * get_ext_diff_fct_v2 (short tapeId, size_t index)
 
ADOLC_API int call_ext_fct (ext_diff_fct_v2 *edfct, size_t iArrLen, size_t *iArr, size_t nin, size_t out, size_t *insz, adouble **x, size_t *outsz, adouble **y)
 
ADOLC_API void edf_zero (ext_diff_fct_v2 *edfct)
 
ADOLC_API void edf_set_opaque_context (ext_diff_fct_v2 *edfct, void *ctx)
 

Typedef Documentation

◆ ADOLC_ext_fct_v2

using ADOLC_ext_fct_v2 = int(short tapeId, size_t iArrLen, size_t *iArr, size_t nin, size_t nout, size_t *insz, double **x, size_t *outsz, double **y, void *ctx)

◆ ADOLC_ext_fct_v2_fos_forward

using ADOLC_ext_fct_v2_fos_forward = int(short tapeId, size_t iArrLen, size_t *iArr, size_t nin, size_t nout, size_t *insz, double **x, double **xp, size_t *outsz, double **y, double **yp, void *ctx)

◆ ADOLC_ext_fct_v2_fos_reverse

using ADOLC_ext_fct_v2_fos_reverse = int(short tapeId, size_t iArrLen, size_t *iArr, size_t nout, size_t nin, size_t *outsz, double **up, size_t *insz, double **zp, double **x, double **y, void *ctx)

◆ ADOLC_ext_fct_v2_fov_forward

using ADOLC_ext_fct_v2_fov_forward = int(short tapeId, size_t iArrLen, size_t *iArr, size_t nin, size_t nout, size_t *insz, double **x, size_t ndir, double ***Xp, size_t *outsz, double **y, double ***Yp, void *ctx)

◆ ADOLC_ext_fct_v2_fov_reverse

using ADOLC_ext_fct_v2_fov_reverse = int(short tapeId, size_t iArrLen, size_t *iArr, size_t nout, size_t nin, size_t *outsz, size_t dir, double ***Up, size_t *insz, double ***Zp, double **x, double **y, void *ctx)

◆ ADOLC_ext_fct_v2_hos_forward

using ADOLC_ext_fct_v2_hos_forward = int(short tapeId, size_t iArrLen, size_t *iArr, size_t nin, size_t nout, size_t *insz, double **x, size_t degree, double ***Xp, size_t *outsz, double **y, double ***Yp, void *ctx)

◆ ADOLC_ext_fct_v2_hov_forward

using ADOLC_ext_fct_v2_hov_forward = int(short tapeId, size_t iArrLen, size_t *iArr, size_t nin, size_t nout, size_t *insz, double **x, size_t degree, size_t ndir, double ****Xp, size_t *outsz, double **y, double ****Yp, void *ctx)

Function Documentation

◆ call_ext_fct()

ADOLC_API int call_ext_fct ( ext_diff_fct_v2 *  edfct,
size_t  iArrLen,
size_t *  iArr,
size_t  nin,
size_t  out,
size_t *  insz,
adouble **  x,
size_t *  outsz,
adouble **  y 
)

◆ edf_set_opaque_context()

ADOLC_API void edf_set_opaque_context ( ext_diff_fct_v2 *  edfct,
void *  ctx 
)
inline

◆ edf_zero()

ADOLC_API void edf_zero ( ext_diff_fct_v2 *  edfct)

◆ get_ext_diff_fct_v2()

ADOLC_API ext_diff_fct_v2 * get_ext_diff_fct_v2 ( short  tapeId,
size_t  index 
)

◆ reg_ext_fct()

ADOLC_API ext_diff_fct_v2 * reg_ext_fct ( short  tapeId,
short  extTapeId,
ADOLC_ext_fct_v2  ext_fct 
)