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  std::string install_prefix_of_module();
11  bool scope_has(const pybind11::dict& dict, const std::string& obj);
12  std::string read_manual(pybind11::module& m, const char* category, const char* name);
13  }
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:19
py::object get_locals()
Definition: py_helpers.cc:14
std::string install_prefix_of_module()
Definition: py_helpers.cc:42
std::string read_manual(pybind11::module &m, const char *category, const char *name)
Definition: py_helpers.cc:67
bool scope_has(const py::dict &dict, const std::string &obj)
Definition: py_helpers.cc:24