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:40:12 UTC
[jira] [Updated] (SYSTEMML-679) Add `X.T` Transpose Attribute
Method To PyDML
[ https://issues.apache.org/jira/browse/SYSTEMML-679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Dusenberry updated SYSTEMML-679:
-------------------------------------
Issue Type: Improvement (was: Bug)
> Add `X.T` Transpose Attribute Method To PyDML
> ---------------------------------------------
>
> Key: SYSTEMML-679
> URL: https://issues.apache.org/jira/browse/SYSTEMML-679
> Project: SystemML
> Issue Type: Improvement
> 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)