Cadabra
Computer algebra system for field theory problems
MMACdb.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Props.hh"
5 #include "Storage.hh"
6 #include "Kernel.hh"
7 #include "Stopwatch.hh"
8 
9 #include "wstp.h"
10 
11 class MMA {
12  public:
13 
21 
22  static cadabra::Ex::iterator apply_mma(const cadabra::Kernel&, cadabra::Ex&, cadabra::Ex::iterator&,
23  const std::vector<std::string>& wrap, std::vector<std::string> args,
24  const std::string& method);
25 
26 
27  private:
28  static WSEnvironment stdenv;
29  static WSLINK lp;
30 
31  static void setup_link();
32  static void teardown_link();
33  };
Definition: MMACdb.hh:11
static WSEnvironment stdenv
Definition: MMACdb.hh:28
static void setup_link()
Definition: MMACdb.cc:135
static void teardown_link()
Definition: MMACdb.cc:172
static WSLINK lp
Definition: MMACdb.hh:29
Basic storage class for symbolic mathemematical expressions.
Definition: Storage.hh:142
Definition: Kernel.hh:15
static cadabra::Ex::iterator 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 res...
Definition: MMACdb.cc:21