Cadabra
Computer algebra system for field theory problems
Namespaces | Functions
py_kernel.hh File Reference
#include <pybind11/pybind11.h>
#include "../Kernel.hh"

Go to the source code of this file.

Namespaces

 cadabra
 Functions to handle the exchange properties of two or more symbols in a product.
 

Functions

Kernel * cadabra::create_scope ()
 
 Setup of kernels in current scope, callable from Python.
More...
 
Kernel * cadabra::create_scope_from_global ()
 
Kernel * cadabra::create_empty_scope ()
 
void cadabra::inject_defaults (Kernel *)
 Inject properties directly into the Kernel, even if the kernel is not yet on the Python stack (needed when we create a new local scope: in this case we create the kernel and pass it back to be turned into local cdbkernel by Python, but we want to populate the kernel with defaults before we hand it back). More...
 
Kernel * cadabra::get_kernel_from_scope ()
 Get a pointer to the currently visible kernel. More...
 
void cadabra::init_kernel (pybind11::module &m)