#8094: shortcuts for matrix transpose, complex conjugate, ...
------------------------------+---------------------------------------------
Reporter: schilly | Owner: was
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.3.2
Component: linear algebra | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
The aim is to enhance {{{/sage/matrix/matrix*.pyx}}} files with a
{{{__getattr__}}} mechanism to call {{{self.transpose()}}} and others more
quickly. The attribute lookup mechanism provides a shortcut like
{{{self.T}}} that is resolved to {{{self.transpose()}}}.
Shortcuts should be similar to other environments like {{{numpy}}}.
Additionally, {{{__setattr__}}} and {{{__delattr__}}} have to be
implemented to avoid modification and deletion of these attributes.
Notes: [http://docs.python.org/reference/datamodel.html#customizing-
attribute-access python data model].
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8094>
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.