Mike Dusenberry created SYSTEMML-589: ----------------------------------------
Summary: Add Default Parameter Values to UDFs Key: SYSTEMML-589 URL: https://issues.apache.org/jira/browse/SYSTEMML-589 Project: SystemML Issue Type: Sub-task Reporter: Mike Dusenberry This task aims to add default parameter values to UDFs for scalar and boolean types. There may already be runtime support, but the grammar does not seem to allow it. Example that currently works: {code} script = """ f = function(double x, int a) return (double ans) { ans = a * x } ans = f(3, 1) print(ans) """ ml.reset() ml.executeScript(script) {code} Example that would be nice: {code} script = """ f = function(double x, int a=1) return (double ans) { ans = a * x } ans = f(3) print(ans) """ ml.reset() ml.executeScript(script) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)