#14266: Fix sage_input and pretty print for NonCommutativeSymmetricFunctions,
others.
---------------------------------------+------------------------------------
Reporter: elixyre | Owner: was
Type: task | Status: new
Priority: major | Milestone: sage-5.9
Component: user interface | Resolution:
Keywords: ascii-art | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Jean-Baptiste Priez | Merged in:
Dependencies: | Stopgaps:
---------------------------------------+------------------------------------
Comment (by elixyre):
new ascii art version.
That one is compatible with the Braun's displayhook.
It uses sympy to rewrite expression (or try to rewrite)::
{{{
sage: integral(exp(x^2)/(x+1), x)
⌠
⎮ ⎛ 2⎞
⎮ ⎝x ⎠
⎮ ℯ
⎮ ───── dx
⎮ x + 1
⌡
}}}
(FIXME:: For that I have to use utf-8 output for that I use a hack in
*sage/all_cmdline.py*...)
I implement several pretty_repr for combinatorial object and plug that for
free_module::
{{{
sage: R = NonCommutativeSymmetricFunctions(QQ).ribbon()
sage: Tableaux.global_options(convention="french")
sage: R[3,1,1]
R
***
*
*
sage: R[3,1,1] * R[2,1,2]
R + R
*** ***
* *
* ***
** *
* **
**
sage: F = QSym.F()
sage: F[2,1,2]
F
**
*
**
}}}
The AsciiArt module (old PrettyConsolRepr) purpose a 'new' option of
baseline.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14266#comment:13>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.