On 01/03/2016 08:41 PM, Gilles wrote:
On Sun, 3 Jan 2016 19:41:46 -0600, Ole Ersoy wrote:
Hi,
RealVector supports the following type of fluid API:
|RealVectorresult
=v.mapAddToSelf(3.4).mapToSelf(newTan()).mapToSelf(newPower(2.3));
IIUC each time we call v.mapXXX an iteration happens, so wit
On Sun, 3 Jan 2016 19:41:46 -0600, Ole Ersoy wrote:
Hi,
RealVector supports the following type of fluid API:
|RealVectorresult
=v.mapAddToSelf(3.4).mapToSelf(newTan()).mapToSelf(newPower(2.3));
IIUC each time we call v.mapXXX an iteration happens, so with the
above expression we loop 3 times. W
Hi,
RealVector supports the following type of fluid API:
|RealVectorresult
=v.mapAddToSelf(3.4).mapToSelf(newTan()).mapToSelf(newPower(2.3)); IIUC each time
we call v.mapXXX an iteration happens, so with the above expression we loop 3
times. With Java 8 Arrays.setAll we can do the same thing
[...]
I am curious to see how this compares to simple for-loops which I can
imagine help the JIT compiler to do loop unrolling and to make use of
instruction-level parallelism.
Otmar,
Just read another article that evaluated some of Angelika Langers results.
http://blog.codefx.org/java/stream-p
On 01/03/2016 02:06 AM, Otmar Ertl wrote:
Am 03.01.2016 7:49 vorm. schrieb "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
Am 03.01.2016 7:49 vorm. schrieb "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