- (l)degree(s), coeff(s, n) and collect(s) were extended to accept expressions
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Fri, 25 Jan 2002 18:33:01 +0000 (18:33 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Fri, 25 Jan 2002 18:33:01 +0000 (18:33 +0000)
commit146be3afbf5f340ea81cda30b35b35c158af31c2
treee0312cc39bf470c2aaad55954a748089a76e332c
parente7cc6a764ff67b5885d6633385fac23ccc1dc9a7
- (l)degree(s), coeff(s, n) and collect(s) were extended to accept expressions
  of any class (except add/mul/ncmul/numeric) for "s". They should even work
  if "s" is a "power" object, as long as the exponent is non-integer, but with
  some limitations. For example, you can "collect(a*2^x+b*2^x, 2^x)" to get
  "(a+b)*2^x", but "degree(2^(3*x), 2^x)" yields 0 instead of 3).
12 files changed:
NEWS
ginac/basic.cpp
ginac/constant.cpp
ginac/constant.h
ginac/function.pl
ginac/indexed.cpp
ginac/indexed.h
ginac/numeric.cpp
ginac/numeric.h
ginac/power.cpp
ginac/symbol.cpp
ginac/symbol.h