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  };
33 
34  }
~Kernel()
Definition: Kernel.cc:15
enum cadabra::Kernel::scalar_backend_t scalar_backend
Kernel()
Definition: Kernel.cc:9
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:20
Base class for all properties, handling argument parsing and defining the interface.
Definition: Props.hh:120
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:34
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Algorithm.cc:1045
scalar_backend_t
Settings.
Definition: Kernel.hh:30
Properties properties
Definition: Kernel.hh:27
Definition: Kernel.hh:14
Definition: Props.hh:37
Class holding a collection of properties attached to expressions.
Definition: Props.hh:227