Cadabra
Computer algebra system for field theory problems
Public Types | Public Member Functions | Public Attributes | List of all members
cadabra::Kernel Class Reference

#include <Kernel.hh>

Public Types

enum  scalar_backend_t { scalar_backend_t::sympy, scalar_backend_t::mathematica }
 Settings. More...
 

Public Member Functions

 Kernel ()
 
 Kernel (const Kernel &other)=delete
 
 ~Kernel ()
 
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. More...
 
std::shared_ptr< Exex_from_string (const std::string &)
 Create an Ex expression object from a string, which will be parsed. More...
 

Public Attributes

Properties properties
 
enum cadabra::Kernel::scalar_backend_t scalar_backend
 

Member Enumeration Documentation

◆ scalar_backend_t

Settings.

Enumerator
sympy 
mathematica 

Constructor & Destructor Documentation

◆ Kernel() [1/2]

Kernel::Kernel ( )

◆ Kernel() [2/2]

cadabra::Kernel::Kernel ( const Kernel other)
delete

◆ ~Kernel()

Kernel::~Kernel ( )

Member Function Documentation

◆ ex_from_string()

std::shared_ptr< cadabra::Ex > Kernel::ex_from_string ( const std::string &  s)

Create an Ex expression object from a string, which will be parsed.

◆ inject_property()

void Kernel::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.

Member Data Documentation

◆ properties

Properties cadabra::Kernel::properties

◆ scalar_backend

enum cadabra::Kernel::scalar_backend_t cadabra::Kernel::scalar_backend

The documentation for this class was generated from the following files: