]> www.ginac.de Git - ginac.git/blobdiff - ginac/numeric.h
Vladimirs improvements for the case that clifford objects take idxes without
[ginac.git] / ginac / numeric.h
index f0e3362f8965aec7bcd5aaf199e6d65f1f3362d7..09603f660d33f1542995733b05dbdb96de4fc973 100644 (file)
@@ -105,6 +105,7 @@ public:
 public:
        unsigned precedence() const {return 30;}
        bool info(unsigned inf) const;
+       bool is_polynomial(const ex & var) const;
        int degree(const ex & s) const;
        int ldegree(const ex & s) const;
        ex coeff(const ex & s, int n = 1) const;
@@ -119,6 +120,8 @@ public:
        ex smod(const numeric &xi) const;
        numeric max_coefficient() const;
        ex conjugate() const;
+       ex real_part() const;
+       ex imag_part() const;
 protected:
        /** Implementation of ex::diff for a numeric always returns 0.
         *  @see ex::diff */