Cadabra
Computer algebra system for field theory problems
core
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
27
Properties
properties
;
28
30
enum class
scalar_backend_t
{
sympy
,
mathematica
}
scalar_backend
;
31
32
};
33
34
}
cadabra::Kernel::scalar_backend_t::sympy
cadabra::Kernel
Definition:
Kernel.hh:14
cadabra::Kernel::~Kernel
~Kernel()
Definition:
Kernel.cc:15
cadabra::Kernel::scalar_backend
enum cadabra::Kernel::scalar_backend_t scalar_backend
cadabra::Kernel::scalar_backend_t::mathematica
cadabra::Kernel::Kernel
Kernel()
Definition:
Kernel.cc:9
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:34
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:20
cadabra::property
FIXME: the above two need to be merged, because parse may need access to the actual pattern tree,...
Definition:
Props.hh:120
cadabra::pattern
Definition:
Props.hh:37
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition:
Algorithm.cc:1045
Props.hh
cadabra::Properties
Definition:
Props.hh:227
cadabra::Kernel::scalar_backend_t
scalar_backend_t
Settings.
Definition:
Kernel.hh:30
Generated by
1.8.16