Cadabra
Computer algebra system for field theory problems
Toggle main menu visibility
Loading...
Searching...
No Matches
core
pythoncdb
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
13
std::string
install_prefix_of_module
();
14
17
bool
scope_has
(
const
pybind11::dict& dict,
const
std::string& obj);
18
21
std::string
read_manual
(pybind11::module& m,
const
char
* category,
const
char
* name);
22
23
}
cadabra
Functions to handle the exchange properties of two or more symbols in a product.
Definition
Adjform.cc:83
cadabra::get_globals
py::object get_globals()
Definition
py_helpers.cc:21
cadabra::get_locals
py::object get_locals()
Definition
py_helpers.cc:16
cadabra::install_prefix_of_module
std::string install_prefix_of_module()
Get the installation prefix of the binary cadabra2 module, typically something like /usr/lib/pythonX....
Definition
py_helpers.cc:44
cadabra::read_manual
std::string read_manual(pybind11::module &m, const char *category, const char *name)
Return the manual page for the category ("property"/"algorithm") and given name.
Definition
py_helpers.cc:67
cadabra::scope_has
bool scope_has(const py::dict &dict, const std::string &obj)
Definition
py_helpers.cc:26
Generated by
1.17.0