From dev-return-1876-apmail-systemml-dev-archive=systemml.apache.org@systemml.apache.org Fri Jun 30 19:18:46 2017 Return-Path: X-Original-To: apmail-systemml-dev-archive@minotaur.apache.org Delivered-To: apmail-systemml-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34F011A032 for ; Fri, 30 Jun 2017 19:18:46 +0000 (UTC) Received: (qmail 71474 invoked by uid 500); 30 Jun 2017 19:18:46 -0000 Delivered-To: apmail-systemml-dev-archive@systemml.apache.org Received: (qmail 71422 invoked by uid 500); 30 Jun 2017 19:18:46 -0000 Mailing-List: contact dev-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 dev@systemml.apache.org Received: (qmail 71410 invoked by uid 99); 30 Jun 2017 19:18:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2017 19:18:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 448B0C0157 for ; Fri, 30 Jun 2017 19:18:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.38 X-Spam-Level: ** X-Spam-Status: No, score=2.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id hu8xhd-vvTr1 for ; Fri, 30 Jun 2017 19:18:42 +0000 (UTC) Received: from mail-yw0-f172.google.com (mail-yw0-f172.google.com [209.85.161.172]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 94D975F30B for ; Fri, 30 Jun 2017 19:18:42 +0000 (UTC) Received: by mail-yw0-f172.google.com with SMTP id j11so52915714ywa.2 for ; Fri, 30 Jun 2017 12:18:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:date:subject:message-id :to; bh=A4SyGym8VwIayrve7t396uluYC2DZ6fS5NVfe+c123A=; b=lEUsmxcFf7NCuS73CJDJarvLV6BCQ7HdwYWXVAC2QgYVci1H0UrIXZJGxXETvi4Sld 9yesBC3hN9x/71Bwwcxow4g21HhUeHpcD/mIeFzPXR+JFjaV0yUG83sRdWXgWX0AT+4V W2F4pFuAVf9v1bIwpuM7aOlI8Gwzd9dEvxAyyguAVWRfASukhq0zaTyXyhWx82+6UuK1 UNCuAaFA5KJsDNKOAIBgMhPfK39S0kMyUaeQNhMJWuHczMoLZJMlWRmpNg5iMpXAQnZ6 DKaE+VOTNOtv04T5nkFanPwGhRIfsjm/IGqONf1E0+a5Gkc5avRdWpvzNsLfUfSuFvm0 i0Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version:date :subject:message-id:to; bh=A4SyGym8VwIayrve7t396uluYC2DZ6fS5NVfe+c123A=; b=fYHKpQyD/jzOH40MOvcj92opb/69u39LGvTpezB95OMTfJUopgjq5ZFuytQojwVrIz nA2m8wD9LT9zeH6h8rVMsFTN68vdNv7iYPja3Rn9gzjE0NhMHJmXoqBYiGiXZthpKN3a kPtNIfjYvDJq3qsxfyz1kLwtygnO7nPLkV4Za/9meuEIKiR3nSWmvCMpcBCnaSzGX4Cc pcLEiEjsA9uJUvlRECxdTLLzoHQdsNZwAYsqmAkS086phwOqB2jl8Y26bm+tjOsX3JjF a3k35NUhYlHNONY31ZcPcYtcoVT1Up21qwTYCRIr2PHDV09m8VyOsqZIohw5QwbzjUvG LyiA== X-Gm-Message-State: AKS2vOyO7ZOxzZ00z/da7FRfCbSqHtd3lTzYp+8WyOpHdm8NiJz7BcjA YKsn7nG5KWbXaS/77DQ= X-Received: by 10.129.159.78 with SMTP id w75mr17358742ywg.238.1498850321757; Fri, 30 Jun 2017 12:18:41 -0700 (PDT) Received: from ?IPv6:2600:1700:aaf0:e060:d5cf:901b:434d:79c7? ([2600:1700:aaf0:e060:d5cf:901b:434d:79c7]) by smtp.gmail.com with ESMTPSA id w4sm3616453ywe.56.2017.06.30.12.18.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Jun 2017 12:18:41 -0700 (PDT) From: dusenberrymw@gmail.com Content-Type: multipart/alternative; boundary=Apple-Mail-7653499C-D1EA-4D7F-B1E5-BB8C5CB2734F Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Date: Fri, 30 Jun 2017 12:18:40 -0700 Subject: Built-in functions and UDFs Message-Id: To: dev@systemml.apache.org X-Mailer: iPhone Mail (14F89) --Apple-Mail-7653499C-D1EA-4D7F-B1E5-BB8C5CB2734F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hi all, Currently, the usage of UDFs is restricted to simply being able to call the U= DF and assign the results to a variable. If the user wishes to use the UDF a= s input to a built-in op of any sort on the same line, an error is thrown. T= his is confusing for users, and leads to messy code involving temporary vari= ables. Here is a simple example that does not work, yet should: out =3D 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. --Apple-Mail-7653499C-D1EA-4D7F-B1E5-BB8C5CB2734F--