]> www.ginac.de Git - ginac.git/blobdiff - ginac/mul.h
- Changed behaviour of .evalf() to not evalf any exponents.
[ginac.git] / ginac / mul.h
index b3e97084d0a632131620ad7ad50c9163b9bd20d4..01b0b3495f4b5481798972d4f1fb627f7a89fb89 100644 (file)
 #ifndef __GINAC_MUL_H__
 #define __GINAC_MUL_H__
 
-#include <ginac/expairseq.h>
+#include "expairseq.h"
 
-#ifndef NO_GINAC_NAMESPACE
+#ifndef NO_NAMESPACE_GINAC
 namespace GiNaC {
-#endif // ndef NO_GINAC_NAMESPACE
+#endif // ndef NO_NAMESPACE_GINAC
 
 /** Product of expressions. */
 class mul : public expairseq
@@ -71,7 +71,7 @@ public:
     int ldegree(const symbol & s) const;
     ex coeff(const symbol & s, int n=1) const;
     ex eval(int level=0) const;
-    ex diff(const symbol & s) const;
+    ex evalf(int level=0) const;
     ex series(const symbol & s, const ex & point, int order) const;
     ex normal(lst &sym_lst, lst &repl_lst, int level=0) const;
     numeric integer_content(void) const;
@@ -80,6 +80,7 @@ public:
     exvector get_indices(void) const;
     ex simplify_ncmul(const exvector & v) const;
 protected:
+    ex derivative(const symbol & s) const;
     int compare_same_type(const basic & other) const;
     bool is_equal_same_type(const basic & other) const;
     unsigned return_type(void) const;
@@ -123,8 +124,8 @@ inline const mul &ex_to_mul(const ex &e)
        return static_cast<const mul &>(*e.bp);
 }
 
-#ifndef NO_GINAC_NAMESPACE
+#ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC
-#endif // ndef NO_GINAC_NAMESPACE
+#endif // ndef NO_NAMESPACE_GINAC
 
 #endif // ndef __GINAC_MUL_H__