X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Finifcns.cpp;h=0daa97989abf8260202a0db99cfb572f576379ec;hb=ac58769a3265fa850c74f5d601b6f68077276d84;hp=d5c90e1d59c7c0382bec755be540f38c8c305224;hpb=3d9039b1a02aedda5eff2392e9c76df986e94f52;p=ginac.git diff --git a/ginac/inifcns.cpp b/ginac/inifcns.cpp index d5c90e1d..0daa9798 100644 --- a/ginac/inifcns.cpp +++ b/ginac/inifcns.cpp @@ -37,9 +37,7 @@ #include "symbol.h" #include "utils.h" -#ifndef NO_NAMESPACE_GINAC namespace GiNaC { -#endif // ndef NO_NAMESPACE_GINAC ////////// // absolute value @@ -179,7 +177,8 @@ static ex eta_series(const ex & arg1, REGISTER_FUNCTION(eta, eval_func(eta_eval). evalf_func(eta_evalf). - series_func(eta_series)); + series_func(eta_series). + latex_name("\\eta")); ////////// @@ -317,7 +316,8 @@ static ex Li2_series(const ex &x, const relational &rel, int order, unsigned opt REGISTER_FUNCTION(Li2, eval_func(Li2_eval). evalf_func(Li2_evalf). derivative_func(Li2_deriv). - series_func(Li2_series)); + series_func(Li2_series). + latex_name("\\mbox{Li}_2")); ////////// // trilogarithm @@ -330,7 +330,8 @@ static ex Li3_eval(const ex & x) return Li3(x).hold(); } -REGISTER_FUNCTION(Li3, eval_func(Li3_eval)); +REGISTER_FUNCTION(Li3, eval_func(Li3_eval). + latex_name("\\mbox{Li}_3")); ////////// // factorial @@ -406,7 +407,8 @@ static ex Order_series(const ex & x, const relational & r, int order, unsigned o // Differentiation is handled in function::derivative because of its special requirements REGISTER_FUNCTION(Order, eval_func(Order_eval). - series_func(Order_series)); + series_func(Order_series). + latex_name("\\mathcal{O}")); ////////// // Inert partial differentiation operator @@ -527,6 +529,4 @@ ex ncpower(const ex &basis, unsigned exponent) unsigned force_include_tgamma = function_index_tgamma; unsigned force_include_zeta1 = function_index_zeta1; -#ifndef NO_NAMESPACE_GINAC } // namespace GiNaC -#endif // ndef NO_NAMESPACE_GINAC