Return-Path: X-Original-To: apmail-groovy-users-archive@minotaur.apache.org Delivered-To: apmail-groovy-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2142E18133 for ; Sun, 3 Jan 2016 17:37:36 +0000 (UTC) Received: (qmail 33397 invoked by uid 500); 3 Jan 2016 17:37:31 -0000 Delivered-To: apmail-groovy-users-archive@groovy.apache.org Received: (qmail 33365 invoked by uid 500); 3 Jan 2016 17:37:30 -0000 Mailing-List: contact users-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.apache.org Delivered-To: mailing list users@groovy.apache.org Received: (qmail 33355 invoked by uid 99); 3 Jan 2016 17:37:30 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2016 17:37:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 83926C6C5E for ; Sun, 3 Jan 2016 17:37:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.129 X-Spam-Level: *** X-Spam-Status: No, score=3.129 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id d34GQMeFwjnb for ; Sun, 3 Jan 2016 17:37:30 +0000 (UTC) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 9A856201EB for ; Sun, 3 Jan 2016 17:37:29 +0000 (UTC) Received: by mail-lb0-f169.google.com with SMTP id bc4so148882411lbc.2 for ; Sun, 03 Jan 2016 09:37:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=pOkuflzgjGga5yau/2ndVzqMXSIU7cCytcpRsNb46PE=; b=yurcBVlZLB9Tht0/TZXG28JSWpDYwl+WVqv0C1qIbYJgEaMBC+C2OLTccz7t4Oyv0o pf2cOQIg8AqyVb43QKwh3+qBtGxPoxAUH6DOcfuk25ssuoCgUwqgDA+e0v5MOU9mWCzT QUimzBQjERtB2vTBHEScaO3Ps0240iUhy6MK8ycJ8TtcPtghoInk2Cyeucx1qKWmVZnr XcxS/rkz5bHJ6Tr81PKZEGg9awOgVz8Ue7zqjCFafnwKciVaBcEUWWrtm/f47BnA2gaS 0oVy+rmAZ/v+FFGM0ceB2H/triyQjjXll4boeZE5ZJFj5E1FQt2kqvalkBpObV9d6QZ/ KjDQ== MIME-Version: 1.0 X-Received: by 10.112.13.99 with SMTP id g3mr21647297lbc.86.1451842647912; Sun, 03 Jan 2016 09:37:27 -0800 (PST) Received: by 10.112.198.101 with HTTP; Sun, 3 Jan 2016 09:37:27 -0800 (PST) Date: Sun, 3 Jan 2016 09:37:27 -0800 Message-ID: Subject: Apache Commons Math and Groovy -- Argument Type? From: Daniel Price To: users@groovy.incubator.apache.org Content-Type: multipart/alternative; boundary=001a11c39fe64c7c6605287175f1 --001a11c39fe64c7c6605287175f1 Content-Type: text/plain; charset=UTF-8 Got this 2.4.5 Groovy error trying to perform a covariance calc: groovy.lang.MissingMethodException: No signature of method: org.apache.commons.math3.stat.correlation.Covariance.covariance() is applicable for argument types: ([Ljava.lang.Double;, [Ljava.lang.Double;) covariance() requires two double arrays, and that's what I provided, so what gives? Do I need to cast the Groovy/Java array into another type? Any advice is much appreciated! D --001a11c39fe64c7c6605287175f1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Got this 2.4.5 Groovy error trying to perform a covariance= calc:

groovy.lang.MissingMethodException: No signature = of method: org.apache.commons.math3.stat.correlation.Covariance.covariance(= ) is applicable for argument types: ([Ljava.lang.Double;, [Ljava.lang.Doubl= e;)

covariance() requires two double arrays, a= nd that's what I provided, so what gives?

Do I= need to cast the Groovy/Java array into another type?

=
Any advice is much appreciated!

D =C2=A0


--001a11c39fe64c7c6605287175f1--