/home/doxygen/libascend/compiler/btprolog.h File Reference


Detailed Description

Prolog for C to be compiled and dynamically loaded to provide residuals and gradients to token relations. This defines the math functions ascend will provide after loading the necessary system headers.

Don't put anything in this prolog which requires access to other ASCEND sources. This header must be shipped with the binary distribution in some lib directory.

bintoken.c also includes this so we maintain 1 definition of our structs. bintoken.h must include it AFTER func.h in bintoken.c.

Complete documentation of btprolog.h.

Requires: include "utilities/ascConfig.h" include "instance_enum.h"

#include <utilities/ascConfig.h>
#include <compiler/instance_enum.h>
#include <math.h>

Include dependency graph for btprolog.h:

Go to the source code of this file.

Data Structures

struct  TableC
struct  TableF
union  TableUnion

Defines

#define IS_BINTOKEN_COMPILE
#define NULL   0
#define BinTokenGRADIENT   0
#define BinTokenRESIDUAL   1

Typedefs

typedef void(*) BinTokenFPtr ()
typedef void(*) BinTokenGPtr ()
typedef void(*) BinTokenSPtr ()

Functions

ASC_DLLSPEC int ExportBinTokenCTable ()
ASC_DLLSPEC double cbrt ()
ASC_DLLSPEC int ascnintF ()
ASC_DLLSPEC double dln ()
ASC_DLLSPEC double dln2 ()
ASC_DLLSPEC double dlog ()
ASC_DLLSPEC double dlog2 ()
ASC_DLLSPEC double lnm ()
ASC_DLLSPEC double dlnm ()
ASC_DLLSPEC double dlnm2 ()
ASC_DLLSPEC double dtanh ()
ASC_DLLSPEC double dtanh2 ()
ASC_DLLSPEC double arcsinh ()
ASC_DLLSPEC double arccosh ()
ASC_DLLSPEC double arctanh ()
ASC_DLLSPEC double darcsinh ()
ASC_DLLSPEC double darcsinh2 ()
ASC_DLLSPEC double darccosh ()
ASC_DLLSPEC double darccosh2 ()
ASC_DLLSPEC double darctanh ()
ASC_DLLSPEC double darctanh2 ()
ASC_DLLSPEC double sqr ()
ASC_DLLSPEC double dsqr ()
ASC_DLLSPEC double dsqr2 ()
ASC_DLLSPEC double cube ()
ASC_DLLSPEC double dcube ()
ASC_DLLSPEC double dcube2 ()
ASC_DLLSPEC double asc_ipow ()
ASC_DLLSPEC double asc_d1ipow ()
ASC_DLLSPEC double asc_d2ipow ()
ASC_DLLSPEC double hold ()
ASC_DLLSPEC double dsqrt ()
ASC_DLLSPEC double dsqrt2 ()
ASC_DLLSPEC double dcbrt ()
ASC_DLLSPEC double dcbrt2 ()
ASC_DLLSPEC double dfabs ()
ASC_DLLSPEC double dfabs2 ()
ASC_DLLSPEC double dhold ()
ASC_DLLSPEC double dasin ()
ASC_DLLSPEC double dasin2 ()
ASC_DLLSPEC double dcos ()
ASC_DLLSPEC double dcos2 ()
ASC_DLLSPEC double dacos ()
ASC_DLLSPEC double dacos2 ()
ASC_DLLSPEC double dtan ()
ASC_DLLSPEC double dtan2 ()
ASC_DLLSPEC double datan ()
ASC_DLLSPEC double datan2 ()
ASC_DLLSPEC double derf ()
ASC_DLLSPEC double derf2 ()


Generated on Thu Jul 17 04:00:20 2008 for libascend by  doxygen 1.5.1