Cadabra
Computer algebra system for field theory problems
Functions
Mathematica bridge

Module Description

Functions to pass scalar expressions to/from Mathematica and manipulate them there.

Functions

static cadabra::Ex::iterator MMA::apply_mma (const cadabra::Kernel &, cadabra::Ex &, cadabra::Ex::iterator &, const std::vector< std::string > &wrap, std::vector< std::string > args, const std::string &method)
 Functionality to act with Mathematica functions on (parts of) Cadabra Ex expressions and read the result back into the same Ex. More...
 

Function Documentation

◆ apply_mma()

Ex::iterator MMA::apply_mma ( const cadabra::Kernel ,
cadabra::Ex ,
cadabra::Ex::iterator &  ,
const std::vector< std::string > &  wrap,
std::vector< std::string >  args,
const std::string &  method 
)
static

Functionality to act with Mathematica functions on (parts of) Cadabra Ex expressions and read the result back into the same Ex.

This duplicates some of the logic in PythonCdb.hh, in particular make_Ex_from_string, but it is best to keep these two completely separate.