Cadabra
Computer algebra system for field theory problems
|
#include <py_properties.hh>
Public Types | |
using | cpp_type = PropT |
using | py_type = pybind11::class_< BoundProperty, std::shared_ptr< BoundProperty >, ParentTs... > |
Public Member Functions | |
BoundProperty () | |
BoundProperty (Ex_ptr ex, Ex_ptr param) | |
BoundProperty (const PropT *prop, Ex_ptr for_obj) | |
std::string | str_ () const |
Human-readable form in text, i.e. no special formatting. | |
std::string | latex_ () const |
Human-readable form using LaTeX markup. | |
std::string | repr_ () const |
Python-parseable form. FIXME: not correct right now. | |
void | attach (Ex_ptr ex) const |
Attach this property to a different symbol. | |
const cpp_type * | get_prop () const |
Static Public Member Functions | |
static std::shared_ptr< BoundProperty > | get_from_kernel (Ex::iterator ex, const std::string &label, bool ignore_parent_rel) |
using cadabra::BoundProperty< PropT, ParentTs >::cpp_type = PropT |
using cadabra::BoundProperty< PropT, ParentTs >::py_type = pybind11::class_<BoundProperty, std::shared_ptr<BoundProperty>, ParentTs...> |
cadabra::BoundProperty< PropT, ParentTs >::BoundProperty | ( | ) |
cadabra::BoundProperty< PropT, ParentTs >::BoundProperty | ( | Ex_ptr | ex, |
Ex_ptr | param | ||
) |
cadabra::BoundProperty< PropT, ParentTs >::BoundProperty | ( | const PropT * | prop, |
Ex_ptr | for_obj | ||
) |
void cadabra::BoundProperty< PropT, ParentTs >::attach | ( | Ex_ptr | ex | ) | const |
Attach this property to a different symbol.
|
static |
const PropT * cadabra::BoundProperty< PropT, ParentTs >::get_prop | ( | ) | const |
std::string cadabra::BoundProperty< PropT, ParentTs >::latex_ | ( | ) | const |
Human-readable form using LaTeX markup.
std::string cadabra::BoundProperty< PropT, ParentTs >::repr_ | ( | ) | const |
Python-parseable form. FIXME: not correct right now.
std::string cadabra::BoundProperty< PropT, ParentTs >::str_ | ( | ) | const |
Human-readable form in text, i.e. no special formatting.