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/13 18:32:12 UTC

[jira] [Assigned] (SYSTEMML-676) Improve PyDML Slicing

     [ https://issues.apache.org/jira/browse/SYSTEMML-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Dusenberry reassigned SYSTEMML-676:
----------------------------------------

    Assignee: Mike Dusenberry

> Improve PyDML Slicing
> ---------------------
>
>                 Key: SYSTEMML-676
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-676
>             Project: SystemML
>          Issue Type: Improvement
>          Components: Parser, PyDML
>            Reporter: Mike Dusenberry
>            Assignee: Mike Dusenberry
>
> Currently, slicing correctly uses inclusive lower and exclusive upper bounds. However, a really useful piece of slicing syntax we are currently missing from PyDML is the ability to have implicit lower or upper bounds, i.e., {{X\[:3,]}} should return all rows up to (but not including) 3. This means that the implicit lower bound is 0. Similarly, {{X\[2:,]}} should return all rows starting at row 2 (0-based), which implies that the upper bound is equal to the number of rows of {{X}}.
> We should update the grammar to allow these cases, row both row and column slicing.  More generally, {{X\[:,:]}}, should also be valid, regardless if it is useful.



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