#14103: Implement tables indexed by arbitrary sage objects
----------------------------------+-----------------------------------------
Reporter: andrew.mathas | Owner: was
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.8
Component: user interface | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Andrew Mathas | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Description changed by andrew.mathas:
Old description:
> Implement a wrapper for tables/matrices which are indexed by arbitrary
> sage objects. For example, this would allow for things like
> {{{
> EXAMPLES::
>
> sage: CharacterTable( DihedralGroup(4) ).display()
> Character table of Dihedral group of order 8 as a permutation
> group
> -------------------
> | 1a 2a 2b 4a 2a
> ---|---------------
> X0 | 1 1 1 1 1
> X1 | 1 -1 -1 1 1
> X2 | 1 -1 1 -1 1
> X3 | 1 1 -1 -1 1
> X4 | 2 0 0 0 -2
> }}}
New description:
Implement a wrapper for tables/matrices which are indexed by arbitrary
sage objects. For example, this would allow for things like
{{{
EXAMPLES::
sage: ct=CharacterTable( SymmetricGroup(5) ).display()
Character table of Symmetric group of order 5! as a permutation group
-------------------------
| 1a 2a 2b 3a 6a 4a 5a
---|---------------------
X0 | 1 -1 1 1 -1 -1 1
X1 | 4 -2 0 1 1 0 -1
X2 | 5 -1 1 -1 -1 1 0
X3 | 6 0 -2 0 0 0 1
X4 | 5 1 1 -1 1 -1 0
X5 | 4 2 0 1 -1 0 -1
X6 | 1 1 1 1 1 1 1
sage: ct['X3']
[6, 0, -2, 0, 0, 0, 1]
sage: ct[3]
[6, 0, -2, 0, 0, 0, 1]
sage: ct[:,'3a']
[1, 1, -1, 0, -1, 1, 1]
}}}
**Preliminary** patch to be added shortly. See also #13131.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14103#comment:2>
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.