Cadabra
Computer algebra system for field theory problems
Kernel.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Props.hh"
5 
11 
12 namespace cadabra {
13 
14  class Kernel {
15  public:
16  Kernel();
17  Kernel(const Kernel& other) = delete;
18  ~Kernel();
19 
21  void inject_property(property *prop, std::shared_ptr<Ex> pattern, std::shared_ptr<Ex> property_arguments);
22 
24  std::shared_ptr<Ex> ex_from_string(const std::string&);
25 
26 
28 
32 
33 
34  const static std::string version;
35  const static std::string build ;
36 
37  };
38 
39  }
cadabra::Kernel::scalar_backend_t::sympy
cadabra::Kernel
Definition: Kernel.hh:14
cadabra::Kernel::~Kernel
~Kernel()
Definition: Kernel.cc:19
cadabra::Kernel::scalar_backend
enum cadabra::Kernel::scalar_backend_t scalar_backend
cadabra::Kernel::scalar_backend_t::mathematica
cadabra::Kernel::build
const static std::string build
Definition: Kernel.hh:35
cadabra::Kernel::call_embedded_python_functions
bool call_embedded_python_functions
Definition: Kernel.hh:31
cadabra::Kernel::Kernel
Kernel()
Definition: Kernel.cc:13
cadabra::Kernel::ex_from_string
std::shared_ptr< Ex > ex_from_string(const std::string &)
Create an Ex expression object from a string, which will be parsed.
Definition: Kernel.cc:38
cadabra::Kernel::properties
Properties properties
Definition: Kernel.hh:27
cadabra::Kernel::inject_property
void inject_property(property *prop, std::shared_ptr< Ex > pattern, std::shared_ptr< Ex > property_arguments)
Inject a property into the system and attach it to the given pattern.
Definition: Kernel.cc:24
cadabra::property
FIXME: the above two need to be merged, because parse may need access to the actual pattern tree,...
Definition: Props.hh:126
cadabra::pattern
Definition: Props.hh:38
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:80
Props.hh
cadabra::Properties
Definition: Props.hh:233
cadabra::Kernel::scalar_backend_t
scalar_backend_t
Settings.
Definition: Kernel.hh:30
cadabra::Kernel::version
const static std::string version
Definition: Kernel.hh:34