Cadabra
Computer algebra system for field theory problems
Classes | Functions
sympy Namespace Reference

Classes

class  SympyBridge
 Helper class to enable conversion from/to sympy. More...
 

Functions

cadabra::Ex::iterator apply (const cadabra::Kernel &, cadabra::Ex &, cadabra::Ex::iterator &, const std::vector< std::string > &wrap, std::vector< std::string > args, const std::string &method)
 Functionality to act with Sympy on all scalar parts of an expression, and keep the result in-place. More...
 
void invert_matrix (const cadabra::Kernel &, cadabra::Ex &ex, cadabra::Ex &rules, const cadabra::Ex &tocompute)
 Use Sympy to invert a matrix, given a set of rules determining its sparse components. More...
 
void determinant (const cadabra::Kernel &, cadabra::Ex &ex, cadabra::Ex &rules, const cadabra::Ex &tocompute)
 Use Sympy to compute the determinant of a matrix, given a set of rules determining its sparse components. More...
 
void trace (const cadabra::Kernel &, cadabra::Ex &ex, cadabra::Ex &rules, const cadabra::Ex &tocompute)
 
cadabra::Ex fill_matrix (const cadabra::Kernel &, cadabra::Ex &ex, cadabra::Ex &rules)
 

Function Documentation

◆ fill_matrix()

Ex sympy::fill_matrix ( const cadabra::Kernel kernel,
cadabra::Ex ex,
cadabra::Ex rules 
)

◆ trace()

void sympy::trace ( const cadabra::Kernel kernel,
cadabra::Ex ex,
cadabra::Ex rules,
const cadabra::Ex tocompute 
)