]> www.ginac.de Git - ginac.git/blobdiff - ginac/numeric.h
- (l)degree(s), coeff(s, n) and collect(s) were extended to accept expressions
[ginac.git] / ginac / numeric.h
index 8f7a83ede8012b65a8ba4e0ac3c412e009f07ae1..3c7dba2c37aee6b178a978bd5088bed3b104aa7a 100644 (file)
@@ -85,6 +85,9 @@ public:
        void print(const print_context & c, unsigned level = 0) const;
        unsigned precedence(void) const {return 30;}
        bool info(unsigned inf) const;
+       int degree(const ex & s) const;
+       int ldegree(const ex & s) const;
+       ex coeff(const ex & s, int n = 1) const;
        bool has(const ex &other) const;
        ex eval(int level = 0) const;
        ex evalf(int level = 0) const;