You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@systemml.apache.org by du...@gmail.com on 2017/06/30 19:18:40 UTC

Built-in functions and UDFs

Hi all,

Currently, the usage of UDFs is restricted to simply being able to call the UDF and assign the results to a variable.  If the user wishes to use the UDF as input to a built-in op of any sort on the same line, an error is thrown.  This is confusing for users, and leads to messy code involving temporary variables.

Here is a simple example that does not work, yet should:

    out = my_udf_func(x) + 4


Can we please fix this?  UDFs should be treated like any other op.

Thanks,

- Mike

--

Mike Dusenberry
GitHub: github.com/dusenberrymw
LinkedIn: linkedin.com/in/mikedusenberry

Sent from my iPhone.