Cadabra
Computer algebra system for field theory problems
Loading...
Searching...
No Matches
py_helpers.hh
Go to the documentation of this file.
1#pragma once
2
3#include <pybind11/pybind11.h>
4#include <memory>
5
6namespace 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:20
py::object get_locals()
Definition py_helpers.cc:15
std::string install_prefix_of_module()
Definition py_helpers.cc:43
std::string read_manual(pybind11::module &m, const char *category, const char *name)
Definition py_helpers.cc:66
void set(rset_t::iterator &num, multiplier_t fac)
Definition Storage.cc:1063
bool scope_has(const py::dict &dict, const std::string &obj)
Definition py_helpers.cc:25