GiNaC 1.8.7
Namespaces | Typedefs | Functions
excompiler.h File Reference

Functions to facilitate the conversion of a ex to a function pointer suited for fast numerical integration. More...

#include "lst.h"
#include <string>

Go to the source code of this file.

Namespaces

namespace  GiNaC
 

Typedefs

typedef double(* GiNaC::FUNCP_1P) (double)
 Function pointer with one function parameter. More...
 
typedef double(* GiNaC::FUNCP_2P) (double, double)
 Function pointer with two function parameters. More...
 
typedef void(* GiNaC::FUNCP_CUBA) (const int *, const double[], const int *, double[])
 Function pointer for use with the CUBA library (http://www.feynarts.de/cuba). More...
 

Functions

void GiNaC::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 double precision. More...
 
void GiNaC::compile_ex (const ex &expr, const symbol &sym1, const symbol &sym2, FUNCP_2P &fp, const std::string filename="")
 Takes an expression and produces a function pointer to the compiled and linked C code equivalent in double precision. More...
 
void GiNaC::compile_ex (const lst &exprs, const lst &syms, FUNCP_CUBA &fp, const std::string filename="")
 Takes an expression and produces a function pointer to the compiled and linked C code equivalent in double precision. More...
 
void GiNaC::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. More...
 
void GiNaC::link_ex (const std::string filename, FUNCP_2P &fp)
 Opens an existing so-file and returns a function pointer of type FUNCP_2P to the contained function. More...
 
void GiNaC::link_ex (const std::string filename, FUNCP_CUBA &fp)
 Opens an existing so-file and returns a function pointer of type FUNCP_CUBA to the contained function. More...
 
void GiNaC::unlink_ex (const std::string filename)
 Closes all linked .so files that have the supplied filename. More...
 

Detailed Description

Functions to facilitate the conversion of a ex to a function pointer suited for fast numerical integration.

Definition in file excompiler.h.


This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.