#9829: Implement implicitly multiplied output
------------------------------+---------------------------------------------
Reporter: mpatel | Owner: was
Type: enhancement | Status: new
Priority: major | Milestone:
Component: user interface | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
With `implicit_multiplication(True)`, we can enter expressions using
spaces instead of `*` to separate multiplied subexpressions:
{{{
#!python
sage: var('x, y, z')
sage: implicit_multiplication(True)
sage: 3 x^4 y + 2 z sin(x z 3 y) - 3 y^2
3*x^4*y - 3*y^2 + 2*z*sin(3*x*y*z)
}}}
This works similarly for polynomials.
But it's not yet possible to set an option so that Sage automatically
postparses the output to multiply implicitly. For example,
{{{
#!python
sage: R.<a,b,c> = QQ[]; R
Multivariate Polynomial Ring in a, b, c over Rational Field
sage: implicit_multiplication_output(True) # not implemented!
sage: R.random_element()
1/7 a b - 1/4 a c - c^2 + c
}}}
Ideally, we would be able to use the output in later inputs with little or
no modification.
[http://ask.sagemath.org/question/46/is-it-possible-to-get-implicitly-
multiplied-output AskSage question] (by me).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9829>
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.