chk_integrate 1.4.9-69

Librairie C++ de calcul formel/ C++ symbolic computation library

Modérateur : xcasadmin

frederic han
Messages : 1137
Inscription : dim. mai 20, 2007 7:09 am
Localisation : Paris
Contact :

chk_integrate 1.4.9-69

Message par frederic han » ven. juil. 27, 2018 7:07 am

Hi bernard,
if I built 1.4.9-69 on fedora but gh-timokau also got this on sage, there is a new doctest failure in chk_integrate due to an ordering of terms:
for us the sign(a) is before while for you it is after.

Code : Tout sélectionner

4>> integrate(sqrt(x)/sqrt(a**3-x**3),x);
2/3*sign(a)*asin(sqrt(x)*x/sqrt(a)/a)
do you mind changing this (for distrib packaging a doctest failure is a pb)? For instance this works for me

Code : Tout sélectionner

3>> regroup(integrate(sqrt(x)/sqrt(a**3-x**3),x)-2/3*asin(sqrt(x)*x/sqrt(a)/a)*sign(a));
0
but it still detect the old behaviour: (with 1.4.9-45 it gives me:

Code : Tout sélectionner

2>> regroup(integrate(sqrt(x)/sqrt(a**3-x**3),x)-2/3*asin(sqrt(x)*x/sqrt(a)/a)*sign(a));
-2/3*sign(a)*asin(sqrt(x)*x/(sqrt(a)*a))+2/3*asin(sqrt(x)*x/(sqrt(a)*abs(a)))
thanks

Frederic

parisse
Messages : 5731
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: chk_integrate 1.4.9-69

Message par parisse » sam. juil. 28, 2018 5:58 pm

Unfortunately this is not really predictable... Perhaps a normal(integrate()/sign(a)) would do the job.

Répondre