]> www.ginac.de Git - ginac.git/blobdiff - ginac/numeric.h
Added methods for taking real and imaginary parts.
[ginac.git] / ginac / numeric.h
index ff460638e0ed3c402b3499040200d534880e4d89..09603f660d33f1542995733b05dbdb96de4fc973 100644 (file)
@@ -120,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 */