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/06 21:37:12 UTC

[jira] [Created] (SYSTEMML-671) Improve PyDML `range(...)` Function

Mike Dusenberry created SYSTEMML-671:
----------------------------------------

             Summary: Improve PyDML `range(...)` Function
                 Key: SYSTEMML-671
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-671
             Project: SystemML
          Issue Type: Improvement
          Components: Parser, PyDML
            Reporter: Mike Dusenberry


Currently, the PyDML {{range(...)}} function requires {{start}}, {{stop}}, and {{step}} arguments.  In Python [1], {{range(...)}} comes in two forms: one form only has a {{stop}} parameter, as in {{range(stop)}}, and the other form has both the {{start}} and {{stop}} parameters, with an optional {{step}} parameter.  It is quite common to simply use an upper {{stop}} argument, i.e. {{range(10)}}, to create a list from 0 up to, but not including, {{stop}}.

We should improve the PyDML {{range(...)}} function to be more inline with that of Python, as described above.



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