]> www.ginac.de Git - ginac.git/blobdiff - ginac/ex.h
Modernized configuration files [A.Sheplyakov].
[ginac.git] / ginac / ex.h
index 13177e28b9d6613fdeef29d6ebcdc51fc2193421..498dbd664f7ae80d78aa3a1107aa5e3174891c82 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to GiNaC's light-weight expression handles. */
 
 /*
- *  GiNaC Copyright (C) 1999-2004 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #ifndef __GINAC_EX_H__
@@ -117,6 +117,7 @@ public:
        ex evalf(int level = 0) const { return bp->evalf(level); }
        ex evalm() const { return bp->evalm(); }
        ex eval_ncmul(const exvector & v) const { return bp->eval_ncmul(v); }
+       ex eval_integ() const { return bp->eval_integ(); }
 
        // printing
        void print(const print_context & c, unsigned level = 0) const;
@@ -192,6 +193,7 @@ public:
        numeric integer_content() const;
        ex primpart(const ex &x) const;
        ex primpart(const ex &x, const ex &cont) const;
+       void unitcontprim(const ex &x, ex &u, ex &c, ex &p) const;
        ex smod(const numeric &xi) const { return bp->smod(xi); }
        numeric max_coefficient() const;
 
@@ -806,6 +808,9 @@ inline ex evalf(const ex & thisex, int level = 0)
 inline ex evalm(const ex & thisex)
 { return thisex.evalm(); }
 
+inline ex eval_integ(const ex & thisex)
+{ return thisex.eval_integ(); }
+
 inline ex diff(const ex & thisex, const symbol & s, unsigned nth = 1)
 { return thisex.diff(s, nth); }