[ 
https://issues.apache.org/jira/browse/SYSTEMML-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15285010#comment-15285010
 ] 

Mike Dusenberry commented on SYSTEMML-676:
------------------------------------------

Merged in [commit 18bb8c5 | 
https://github.com/apache/incubator-systemml/commit/18bb8c52cc10abd9679f5de3b6107a19ec79dc21].

> 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
>             Fix For: SystemML 0.10
>
>
> 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)

Reply via email to