Re: [math] Matrix parallel operations

2016-01-02 Thread Ole Ersoy
Hi, I ran another test using a single parallel loop for array based matrix vector multiplication. Throughput almost tripled (Test pasted at bottom): # Run complete. Total time: 00:13:24 Benchmark Mode Cnt Score Error Units MultiplyBenchmark.parallelMulti

Re: [math] Matrix parallel operations

2016-01-02 Thread Ole Ersoy
Hi Otmar, On 01/02/2016 10:33 AM, Otmar Ertl wrote: On Sat, Jan 2, 2016 at 4:38 AM, Ole Ersoy wrote: Hi, Hope ya'll are having an awesome new year! Some matrix operations, like createRealIdentityMatrix can be turned into one liners like this: IntStream.range(0, dimension).forEach(i

Re: [math] RealVector.cosine() missing checkVectorDimension?

2016-01-02 Thread Ole Ersoy
On 01/02/2016 04:12 AM, Gilles wrote: On Sat, 2 Jan 2016 00:50:18 -0600, Ole Ersoy wrote: I think RealVector.cosine() is missing the checkVectorDimensions(v) check? "checkVectorDimensions" is called by "dotProduct". Oh good...at least one of us knows how to read code :). Ole

Re: [VOTE][RC2] Release Commons Math 3.6

2016-01-02 Thread Phil Steitz
Sigs and hashes are good. Release contents are good. Clirr, Findbugs, Checkstyle, Rat all good. Tests run clean against distribution jar. Tested Ant and Maven builds on OSX 1.7.0_71-b14 OSX 1.8.0_45-b14 Ant build only on Ubuntu 1.6.0_43 Ubuntu 1.5.0_22 The 1.5 JDK above does not get 3/6 within

[VOTE][RC2] Release Commons Math 3.6

2016-01-02 Thread Luc Maisonobe
This is a [VOTE] for releasing Apache Commons Math 3.6 from release candidate 2. Tag name: MATH_3_6_RC2 (signature can be checked from git using 'git tag -v') Tag URL: Commit ID th

[CANCELED][VOTE][RC1] Release Commons Math 3.6

2016-01-02 Thread Luc Maisonobe
Le 01/01/2016 17:23, Luc Maisonobe a écrit : > This is a [VOTE] for releasing Apache Commons Math 3.6 from release > candidate 1. This vote is canceled, in order to fix some issues with Java 5. Thanks to thos who reviewed the release. best regards, Luc > > Tag name: > MATH_3_6_RC1 (signature

Re: [math] Fixed ant build.

2016-01-02 Thread Luc Maisonobe
Le 02/01/2016 19:23, Phil Steitz a écrit : > On 1/2/16 11:04 AM, Luc Maisonobe wrote: >> Hi Phil, >> >> >> Le 02/01/2016 18:26, pste...@apache.org a écrit : >>> Repository: commons-math >>> Updated Branches: >>> refs/heads/MATH_3_X c5e6ccb81 -> 68194a3bf >>> >>> >>> Fixed ant build. >> Do you wan

Re: [math] Fixed ant build.

2016-01-02 Thread Phil Steitz
On 1/2/16 11:04 AM, Luc Maisonobe wrote: > Hi Phil, > > > Le 02/01/2016 18:26, pste...@apache.org a écrit : >> Repository: commons-math >> Updated Branches: >> refs/heads/MATH_3_X c5e6ccb81 -> 68194a3bf >> >> >> Fixed ant build. > Do you want me to run another RC? I was about to say no, and you

Re: "[VOTE][RC1] Release Commons Math 3.6

2016-01-02 Thread Phil Steitz
Sigs and hashes are good. Release contents are good. Clirr, Findbugs, Checkstyle, Rat all good. Tests run clean against distribution jar. Tested Ant (slightly modified build.xml) and Maven builds on OSX 1.7.0_71-b14 OSX 1.8.0_45-b14 Ant build only on Ubuntu 1.6.0_43 No issues. Ant build has b

Re: [math] Fixed ant build.

2016-01-02 Thread Luc Maisonobe
Hi Phil, Le 02/01/2016 18:26, pste...@apache.org a écrit : > Repository: commons-math > Updated Branches: > refs/heads/MATH_3_X c5e6ccb81 -> 68194a3bf > > > Fixed ant build. Do you want me to run another RC? best regards, Luc > > > Project: http://git-wip-us.apache.org/repos/asf/commons-

Re: [math] Matrix parallel operations

2016-01-02 Thread Otmar Ertl
On Sat, Jan 2, 2016 at 4:38 AM, Ole Ersoy wrote: > Hi, > > Hope ya'll are having an awesome new year! > > Some matrix operations, like createRealIdentityMatrix can be turned into one > liners like this: > >IntStream.range(0, dimension).forEach(i -> m.setEntry(i, i, 1.0)); > > And can be pe

Re: [math] RealVector.cosine() missing checkVectorDimension?

2016-01-02 Thread Gilles
On Sat, 2 Jan 2016 00:50:18 -0600, Ole Ersoy wrote: I think RealVector.cosine() is missing the checkVectorDimensions(v) check? "checkVectorDimensions" is called by "dotProduct". Gilles - To unsubscribe, e-mail: dev-unsubsc

Re: "[VOTE][RC1] Release Commons Math 3.6

2016-01-02 Thread Luc Maisonobe
Le 02/01/2016 06:56, Phil Steitz a écrit : > I have found no blockers thus far, but I am struggling to get the > Ant build to work, in part so I can verify that the tests run > against the release jar. I am getting (understandable) errors when > the ant test runner tries to execute > AbstractAdams