|
bool | __eq__Ex_Ex (const cadabra::Ex &, const cadabra::Ex &) |
| Comparison operator for Ex objects in Python. More...
|
|
bool | __eq__Ex_int (const cadabra::Ex &, int) |
| Comparison operator for Ex objects in Python. More...
|
|
std::shared_ptr< cadabra::Ex > | fetch_from_python (const std::string &nm) |
| Fetch an Ex object from the Python side using its Python identifier. More...
|
|
std::string | Ex_str_ (const cadabra::Ex &) |
| Generate the Python str() and repr() representation of the Ex object. More...
|
|
std::string | Ex_repr_ (const cadabra::Ex &) |
|
std::string | Ex_latex_ (const cadabra::Ex &) |
| The Python 'print' function always calls the 'str' member on objects to be printed. More...
|
|
boost::python::object | Ex_to_Sympy (const cadabra::Ex &) |
| Outputs a Cadabra 'Ex' as a Sympy expression. More...
|
|
std::string | Ex_to_Sympy_string (const cadabra::Ex &) |
| Similar to Ex_to_Sympy, but only producing a string which can be parsed by Sympy, instead of a full-fledged Sympy expression. More...
|
|
cadabra::Ex | operator+ (const cadabra::Ex &ex1, const cadabra::Ex &ex2) |
| Add two expressions, adding a top-level node if required. More...
|
|
cadabra::Ex | operator- (const cadabra::Ex &ex1, const cadabra::Ex &ex2) |
| Subtract two expressions, adding a top-level node if required. More...
|
|
cadabra::Kernel * | create_scope () |
| Setup of kernels in current scope, callable from Python. More...
|
|
cadabra::Kernel * | create_scope_from_global () |
|
cadabra::Kernel * | create_empty_scope () |
|
void | inject_defaults (cadabra::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...
|
|
cadabra::Kernel * | get_kernel_from_scope () |
| Get a pointer to the currently visible kernel. More...
|
|
void | call_post_process (cadabra::Kernel &, cadabra::Ex &ex) |
| Run the post-process Python function (if defined) on the given expression. More...
|
|