Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AE6B9200CD0 for ; Tue, 25 Jul 2017 20:07:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ACDBA16679A; Tue, 25 Jul 2017 18:07:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F1A0916677F for ; Tue, 25 Jul 2017 20:07:03 +0200 (CEST) Received: (qmail 85688 invoked by uid 500); 25 Jul 2017 18:07:03 -0000 Mailing-List: contact issues-help@systemml.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@systemml.apache.org Delivered-To: mailing list issues@systemml.apache.org Received: (qmail 85677 invoked by uid 99); 25 Jul 2017 18:07:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2017 18:07:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 95648180701 for ; Tue, 25 Jul 2017 18:07:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id EmmolqdVWAhz for ; Tue, 25 Jul 2017 18:07:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 2DF7C5FB84 for ; Tue, 25 Jul 2017 18:07:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6BF23E0D54 for ; Tue, 25 Jul 2017 18:07:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1EBA823F05 for ; Tue, 25 Jul 2017 18:07:00 +0000 (UTC) Date: Tue, 25 Jul 2017 18:07:00 +0000 (UTC) From: "Janardhan (JIRA)" To: issues@systemml.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (SYSTEMML-1444) UDFs w/ single output in expressions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 25 Jul 2017 18:07:04 -0000 [ https://issues.apache.org/jira/browse/SYSTEMML-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16100431#comment-16100431 ] Janardhan edited comment on SYSTEMML-1444 at 7/25/17 6:06 PM: -------------------------------------------------------------- Thank you sir, I too am in favour of special handling of functions with single output, but also thinking about functions with multiple outputs to be allowed in the expressions provided with specifying in the dml itself which particular output needs to be used in the expression. may be it might look like this: (here we want to use output matrix `X` in the expression. {code} udf = function(int a, int b) returns (matrix[double] X, int x) y = udf(a, b)[X] + c {code} [~dusenberrymw] too might like this feature. was (Author: return_01): Sir, I too am in favour of special handling of functions with single output, but also thinking about functions with multiple outputs to be allowed in the expressions provided with specifying in the dml itself which particular output needs to be used in the expression. may be it might look like this: (here we want to use output matrix `X` in the expression. {code} udf = function(int a, int b) returns (matrix[double] X, int x) y = udf(a, b)[X] + c {code} [~dusenberrymw] too might like this feature. > UDFs w/ single output in expressions > ------------------------------------ > > Key: SYSTEMML-1444 > URL: https://issues.apache.org/jira/browse/SYSTEMML-1444 > Project: SystemML > Issue Type: Sub-task > Components: APIs, Compiler, Runtime > Reporter: Matthias Boehm > Assignee: Janardhan > Fix For: SystemML 1.0 > > -- This message was sent by Atlassian JIRA (v6.4.14#64029)