You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Mike Dusenberry (JIRA)" <ji...@apache.org> on 2016/05/10 18:39:13 UTC

[jira] [Created] (SYSTEMML-679) Add `X.T` Transpose Attribute Method To PyDML

Mike Dusenberry created SYSTEMML-679:
----------------------------------------

             Summary: Add `X.T` Transpose Attribute Method To PyDML
                 Key: SYSTEMML-679
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-679
             Project: SystemML
          Issue Type: Bug
            Reporter: Mike Dusenberry


Currently, PyDML allows one to transpose a matrix using {{X.transpose()}}, which is valid in Python (NumPy) as well.  However, it is much more common (for clear, understandable code) in Python/NumPy to simply use the transpose attribute, {{X.T}}.

We should support the latter {{X.T}} syntax in PyDML.

Example (PyDML):
{code}
X = matrix("[1 2 3; 4 5 6; 7 8 9; 10 11 12]")
Z = X.transpose()
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)