Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!d19g2000prh.googlegroups.com!not-for-mail From: jimgardener Newsgroups: comp.lang.java.programmer Subject: find covariance using ejml Date: Thu, 19 May 2011 22:56:49 -0700 (PDT) Organization: http://groups.google.com Lines: 9 Message-ID: NNTP-Posting-Host: 115.184.177.139 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1305871060 4859 127.0.0.1 (20 May 2011 05:57:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 20 May 2011 05:57:40 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d19g2000prh.googlegroups.com; posting-host=115.184.177.139; posting-account=ClVFQQoAAAApZ31UMTiDeArQN-Srmoi9 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:4338 hi I have two double arrays as below double[] x=new double[]{2.5,0.5,2.2,1.9,3.1,2.3,2.0,1.0,1.5,1.1}; double[] y=new double[]{2.4,0.7,2.9,2.2,3.0,2.7,1.6,1.1,1.6,0.9}; How do you find the covariance between them using ejml library? Any code snippet most welcom thanks jim