octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why NDArray is faster than int32NDArray?


From: Hamid 2C
Subject: Why NDArray is faster than int32NDArray?
Date: Tue, 26 Jul 2011 23:05:50 +0430

Hi all,

I have coded two different version of array multiplication in C++
using Octave library.
When I use NDArray as the type for arrays, multiplication is done
faster compared to the case where int32NDArray is used. I am wondering
what's the reason for this. Somehow, I expected the opposite since
NDArray is an array of doubles and int32Array is an array of integers
if I understand it correctly.

Thanks,
Hamid


reply via email to

[Prev in Thread] Current Thread [Next in Thread]