#7660: arithmetic with inequalities confusing
-----------------------------+----------------------------------------------
Reporter: burcin | Owner: burcin
Type: defect | Status: new
Priority: major | Milestone: sage-5.6
Component: symbolics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-----------------------------+----------------------------------------------
Comment (by robert_dodier):
For the record, Maxima has a share package which implements arithmetic on
inequalities.
{{{
(%i1) load (ineq);
(%o1) /home/robert/maxima/maxima-git/maxima-
code/share/simplification/ineq.mac
(%i2) e:a < b;
(%o2) a < b
(%i3) x*e;
Is x positive, negative, or zero?
p;
(%o3) a x < b x
(%i4) x*e;
Is x positive, negative, or zero?
n;
(%o4) a x > b x
(%i5) x*e;
Is x positive, negative, or zero?
z;
(%o5) (a < b) x
}}}
I gather that's similar to what Maple does.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7660#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.