]> www.ginac.de Git - ginac.git/blobdiff - ginac/inifcns.h
- fixed bug in normal(): normal(x^a) became (x^(-a))^(-1)
[ginac.git] / ginac / inifcns.h
index 20511e2828e82ced2c53474dddc86d9837e9787d..176f67943ccbfecdb9af7fb7ba4f035aae790196 100644 (file)
@@ -26,9 +26,9 @@
 #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)
@@ -123,6 +123,12 @@ DECLARE_FUNCTION_2P(binomial)
 /** Order term function (for truncated power series). */
 DECLARE_FUNCTION_1P(Order)
 
+/** Inert differentiation. */
+DECLARE_FUNCTION_2P(Diff)
+
+/** 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 +138,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__