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/02/12 19:44:18 UTC
[jira] [Created] (SYSTEMML-516) Index Range Slicing Should Allow
Implicit Upper Or Lower Bounds
Mike Dusenberry created SYSTEMML-516:
----------------------------------------
Summary: Index Range Slicing Should Allow Implicit Upper Or Lower Bounds
Key: SYSTEMML-516
URL: https://issues.apache.org/jira/browse/SYSTEMML-516
Project: SystemML
Issue Type: Improvement
Reporter: Mike Dusenberry
DML allows for index slicing of matrices for specified ranges, as in {{X[1:4, 2:6]}}. However, this currently requires that *both* a lower *and* upper bound be specified. It would be useful to be able to specify *either* a lower *or* upper bound, with the missing bound implicitly added internally. This would allow for scenarios such as selecting all columns *except* the first one, as in
{code}
data = rand(rows=10, cols=20, min=0, max=1, pdf="uniform", sparsity=0.2)
X = X[,2:] # select all rows, and all columns except the first one
{code}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)