Cadabra
Computer algebra system for field theory problems
py_helpers.hh
Go to the documentation of this file.
1 #pragma once
2 
3 #include <pybind11/pybind11.h>
4 #include <memory>
5 
6 namespace cadabra {
7 
8  pybind11::object get_locals();
9  pybind11::object get_globals();
10  bool scope_has(const pybind11::dict& dict, const std::string& obj);
11  std::string read_manual(const char* category, const char* name);
12  }
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83
py::object get_globals()
Definition: py_helpers.cc:17
py::object get_locals()
Definition: py_helpers.cc:12
std::string read_manual(const char *category, const char *name)
Definition: py_helpers.cc:30
bool scope_has(const py::dict &dict, const std::string &obj)
Definition: py_helpers.cc:22