X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Fmul.h;h=d28b6276c8b3d91039f9a5d0276e4a80bb490731;hb=bed06c78cdca3df4edccd26ef3cf913b1c82be76;hp=977d1d0a0f72581cac9b74125865edd712640728;hpb=c28e61da33905ddc69abf893aaffec98aa30d053;p=ginac.git diff --git a/ginac/mul.h b/ginac/mul.h index 977d1d0a..d28b6276 100644 --- a/ginac/mul.h +++ b/ginac/mul.h @@ -3,7 +3,7 @@ * Interface to GiNaC's products of expressions. */ /* - * GiNaC Copyright (C) 1999-2010 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2011 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 @@ -49,6 +49,7 @@ public: public: unsigned precedence() const {return 50;} 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; @@ -64,6 +65,7 @@ public: ex smod(const numeric &xi) const; numeric max_coefficient() const; exvector get_free_indices() const; + ex conjugate() const; protected: ex derivative(const symbol & s) const; ex eval_ncmul(const exvector & v) const;