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 
31 
32  const static std::string version;
33  const static std::string build ;
34 
35  };
36 
37  }
cadabra::Kernel::scalar_backend_t::sympy
@ sympy
cadabra::Kernel::scalar_backend
enum cadabra::Kernel::scalar_backend_t scalar_backend
cadabra::Kernel
Definition: Kernel.hh:14
cadabra::Kernel::Kernel
Kernel(const Kernel &other)=delete
cadabra::Kernel::~Kernel
~Kernel()
Definition: Kernel.cc:19
cadabra::Kernel::scalar_backend_t::mathematica
@ mathematica
cadabra::Kernel::build
static const std::string build
Definition: Kernel.hh:33
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
Base class for all properties, handling argument parsing and defining the interface.
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
Class holding a collection of properties attached to expressions.
Definition: Props.hh:233
cadabra::Kernel::scalar_backend_t
scalar_backend_t
Settings.
Definition: Kernel.hh:30
cadabra::Kernel::version
static const std::string version
Definition: Kernel.hh:32