24#ifndef GINAC_EXCOMPILER_H
25#define GINAC_EXCOMPILER_H
49typedef void (*
FUNCP_CUBA) (
const int*,
const double[],
const int*,
double[]);
123void unlink_ex(
const std::string filename);
Wrapper template for making GiNaC classes out of STL containers.
Lightweight wrapper for GiNaC's symbolic objects.
Definition of GiNaC's lst.
void compile_ex(const ex &expr, const symbol &sym, FUNCP_1P &fp, const std::string filename)
Takes an expression and produces a function pointer to the compiled and linked C code equivalent in d...
void(* FUNCP_CUBA)(const int *, const double[], const int *, double[])
Function pointer for use with the CUBA library (http://www.feynarts.de/cuba).
void link_ex(const std::string filename, FUNCP_1P &fp)
Opens an existing so-file and returns a function pointer of type FUNCP_1P to the contained function.
double(* FUNCP_1P)(double)
Function pointer with one function parameter.
void unlink_ex(const std::string filename)
Closes all linked .so files that have the supplied filename.
double(* FUNCP_2P)(double, double)
Function pointer with two function parameters.