Hello,
I've noticed the following change in simplifications between Sage 6.3 and
preceeding versions:
In Sage 6.2 (and preceeding):
sage: simplify( abs(sqrt(x)) )
sqrt(x)
sage: simplify( abs(1/sqrt(x)) )
1/sqrt(x)
while in Sage 6.3:
sage: simplify( abs(sqrt(x)) )
sqrt(x)
sage:
Hi,
Le mardi 16 septembre 2014 09:30:23 UTC+2, Peter Bruin a écrit :
This is probably due to Maxima. The following happens with and without
the domain: complex setting:
Maxima 5.34.0 http://maxima.sourceforge.net
using Lisp ECL 12.12.1
Distributed under the GNU Public License. See
PS: in the above code, I've simply cut and paste lines from
Expression._maxima_(). In the present case, the super is not necessary and
the code can be simplified to
In Sage 6.2:
sage: from sage.calculus.calculus import maxima
sage: abs(1/sqrt(x))._interface_(maxima)
1/sqrt(x)
while in Sage
PS2 : so Karl-Dieter Crisman was right: the change in behavior is due to
the introduction of unique names for Sage variables in the interface.
--
You received this message because you are subscribed to the Google Groups
sage-devel group.
To unsubscribe from this group and stop receiving
Hello,
PS: in the above code, I've simply cut and paste lines from
Expression._maxima_(). In the present case, the super is not necessary
and the code can be simplified to
In Sage 6.2:
sage: from sage.calculus.calculus import maxima
sage: abs(1/sqrt(x))._interface_(maxima)
1/sqrt(x)
PS: the following message from the Maxima mailing list (found via a
different sqrt-related report in the Maxima bug tracker) is quite
useful:
https://www.ma.utexas.edu/pipermail/maxima/2011/025213.html
From that page:
* abs is a mathematical function which has simplification rules. It
assumes
Thanks for the link! This is quite instructive.
Eric.
Le mardi 16 septembre 2014 11:41:42 UTC+2, Peter Bruin a écrit :
PS: the following message from the Maxima mailing list (found via a
different sqrt-related report in the Maxima bug tracker) is quite
useful:
Hello,
I'm running several patchbots. Sometimes I get
Failing tests in your install: TestsFailed. Continue anyways? [y/N]
1. I find that this question should not be asked and the default should be
'No'
2. If the patchbot says 'Failing tests in your install..', which branch is
meant? '
Thanks for the link! This is quite instructive.
Indeed. Perhaps we should point this out in our documentation for `abs`.
Le mardi 16 septembre 2014 11:41:42 UTC+2, Peter Bruin a écrit :
PS: the following message from the Maxima mailing list (found via a
different sqrt-related
But the fact remains that Lisp is quite an obscure languge.
I'm not sure what you mean by obscure --- I'll assume that you are just
observing that
most programmers are unfamiliar with it. They are instead familiar with
C, Java, Basic, (see the tiobe survey).
I wrote a little bit of
On Tuesday, September 16, 2014 4:08:27 PM UTC+1, kcrisman wrote:
For those looking for a laugh, check out http://clochure.org/ . I have
to admit, their list of reasons to use it is short, but somehow makes sense
when they say it. Not that brackets should replace parentheses everywhere
On Tue, Sep 16, 2014 at 8:14 AM, Volker Braun vbraun.n...@gmail.com wrote:
On Tuesday, September 16, 2014 4:08:27 PM UTC+1, kcrisman wrote:
For those looking for a laugh, check out http://clochure.org/ . I have to
admit, their list of reasons to use it is short, but somehow makes sense
when
After a lot of time spent thinking about that, I found the following
page :
http://www.sagemath.org/doc/reference/combinat/sage/combinat/subsets_pairwise.html
I thus created a new file subsets_hereditary just near with the function in
it :-P
It is all on #16994, which needs a review:
On Tue, Sep 16, 2014 at 7:07 AM, Jakob Kroeker kroe...@uni-math.gwdg.de
wrote:
Hello,
I'm running several patchbots. Sometimes I get
Failing tests in your install: TestsFailed. Continue anyways? [y/N]
1. I find that this question should not be asked and the default should be
'No'
14 matches
Mail list logo