Objects in Python
Python Class: expr
exprA Python wrapper class for the inner GiNaC::ex object _expr.
expr(i)contructor from an integeri.expr(s)constructor from astrings.nops()return the_expr.nops().op(i)return the_expr.op(i).let_op(i,e)update the innerith item by_expr.let_op(i)=e.expand()return_expr.expand().normal()return_expr.normal().factor()return_expr.factor().series(s,o)returnmma_series(_expr,s,o).subs(e)return_expr.subs(e).isSymbol()check the_expris aSymbol.isVector()check the_expris aVector.isIndex()check the_expris aIndex.isPair()check the_expris aPair.isDGammacheck the_expris aDGamma.map(map_func)return the_expr.map(map_func),map_funcis an object derived fromMapFunctionclass.
Python Functions
expand(e)is equivalent toe.expand().normal(e)is equivalent toe.normal().factor(e)is equivalent toe.factor().series(e,s,n)is equivalent toe.series(s,n).subs(e,es)is equivalent toe.subs(es).pow(e,n)return the power .Symbol(s)return anexprobject with_expr=HepLib::Symbol(s).Index(s)return anexprobject with_expr=HepLib::FC::Index(s).Vector(s)return anexprobject with_expr=HepLib::FC::Vector(s).SP(e1,e2)return anexprobject with_expr=HepLib::FC::SP(e1._expr,e2._expr).GAS(e)return anexprobject with_expr=HepLib::FC::GAS(e._expr).TR(e)return anexprobject with_expr=HepLib::FC::TR(e._expr).form(e)return anexprobject with_expr=HepLib::FC::form(e._expr).
Python call any HepLib function
call any HepLib functioncall(func_str,e)return anexprobject with_expr=func(e._expr).call(func_str,[e1,e2,...])return anexprobject with_expr=func(e1,e2,...).
Python Class: Integral
IntegralepNthe requested order.epsNthe requested order.verbthe innerVerbose.Functions([e1,e2,...])to assign the internalFunctionsorPropagators.Exponents([e1,e2,...])to assign the internalExponents.Evaluate()to evaluate the integral by Sector Decomposition, theIntegralobject itself holds the nummerical result.
Last updated