2 Nov
2010
2 Nov
'10
3:35 p.m.
Hello, On Tue, Nov 2, 2010 at 1:34 PM, Camille Gillot <k1000.jlo@wanadoo.fr> wrote:
However, ginac 1.5.8 is unable to expand expressions like :
cos(x)^(sin(x)/x), even if it expands well sin(x)/x.
+ if(!is_a<numeric>(exponent)) { + ex new_exponent = (exponent*log(basis)).series(r,order,options); + return exp(new_exponent).series(r,order,options); + }
I think such transformation is way too aggressive (the exponent might not depend on x, there might be no singularity at all, etc). I'll try to fix this in a more careful way. Best regards, Alexei