Re: UDFs Within Expressions

2017-03-30 Thread Matthias Boehm
absolutely - based on your comment yesterday, I've created SYSTEMML-1444 as a placeholder. Regards, Matthias On Thu, Mar 30, 2017 at 1:23 PM, wrote: > Great, we should definitely add this to the 1.0 release in order to allow > for more expressivity in our DML, and to allow for the cleanup of ex

Re: UDFs Within Expressions

2017-03-30 Thread dusenberrymw
Great, we should definitely add this to the 1.0 release in order to allow for more expressivity in our DML, and to allow for the cleanup of existing DML that has had to code around this, such as the `nn` library. I will add a JIRA (or search for one) and tag it for 1.0. -- Mike Dusenberry Git

Re: UDFs Within Expressions

2017-03-29 Thread Matthias Boehm
Well, this would indeed be a very useful extension - I've actually seen many use cases, where new users ran into issues with simple expressions like X[i,i] = foo(). In the general case, the problem with UDFs is that they can have - in contrast to builtin functions - multiple returns. These multiple

UDFs Within Expressions

2017-03-29 Thread dusenberrymw
Currently, it is not possible to use UDFs within an expression. I.e. I'd like to be able to use something like `out = (-1/2) * util::my_function(x)`. This would of course extend to more elaborate expressions. Also, note that we *are* able to use built-in functions within expressions. I think