]> www.ginac.de Git - ginac.git/blobdiff - ginac/inifcns.h
- Fixed the bug that broke xloop's po_redux.
[ginac.git] / ginac / inifcns.h
index 20511e2828e82ced2c53474dddc86d9837e9787d..9781d935c1a2e777a2dfbf9326fba1da8eae8d22 100644 (file)
 #include "function.h"
 #include "ex.h"
 
-#ifndef NO_GINAC_NAMESPACE
+#ifndef NO_NAMESPACE_GINAC
 namespace GiNaC {
-#endif // ndef NO_GINAC_NAMESPACE
+#endif // ndef NO_NAMESPACE_GINAC
 
 /** Absolute value. */
 DECLARE_FUNCTION_1P(abs)
+    
+/** Complex sign. */
+DECLARE_FUNCTION_1P(csgn)
 
 /** Sine. */
 DECLARE_FUNCTION_1P(sin)
@@ -97,7 +100,8 @@ inline function zeta(const ex & p1, const ex & p2) {
 }
 
 /** Gamma-function. */
-DECLARE_FUNCTION_1P(gamma)
+DECLARE_FUNCTION_1P(lgamma)
+DECLARE_FUNCTION_1P(tgamma)
 
 /** Beta-function. */
 DECLARE_FUNCTION_2P(beta)
@@ -123,6 +127,9 @@ DECLARE_FUNCTION_2P(binomial)
 /** Order term function (for truncated power series). */
 DECLARE_FUNCTION_1P(Order)
 
+/** Inert partial differentiation operator. */
+DECLARE_FUNCTION_2P(Derivative)
+
 ex lsolve(const ex &eqns, const ex &symbols);
 
 ex ncpower(const ex &basis, unsigned exponent);
@@ -132,8 +139,8 @@ inline bool is_order_function(const ex & e)
     return is_ex_the_function(e, Order);
 }
 
-#ifndef NO_GINAC_NAMESPACE
+#ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC
-#endif // ndef NO_GINAC_NAMESPACE
+#endif // ndef NO_NAMESPACE_GINAC
 
 #endif // ndef __GINAC_INIFCNS_H__