[Development] QNumericVector<T>?

Ed Leaver ewleaver at comcast.net
Sat Jun 3 02:33:53 CEST 2017

Agree. I've used Eigen a fair bit. At least as much as I have Qt. Eigen 
is one polished wheel I certainly wouldn't want to  re-invent.

On 06/02/2017 03:29 PM, Thiago Macieira wrote:
> On Friday, 2 June 2017 09:58:18 PDT Konstantin Tokarev wrote:
>> 02.06.2017, 19:55, "Jason H" <jhihn at gmx.com>:
>>> I'm just wondering out loud if it would be a good thing to have a numeric
>>> vector type that supports math operations (and optionally will SIMD
>>> accelerate them). Qt supports some fixed dimensionality vectors
>>> (QVecorXD, x={2,3,4}). But this would add flexibility for say, machine
>>> learning applications. The only collision that I know of is length()
>>> where the existing fixed-dimension classes provide magnitude as length().
>>> Additionally it may be useful to support non-Euclidean spaces, though I
>>> wouldn't see much use beyond polar (haversine) distances and bearings.
>>> Thoughts?
>> Use Eigen?
> There's a couple of classes in Qt3D that do 3D and 4D vectors with SSE2 and
> AVX2 acceleration, but I would really like you to use Eigen instead.

More information about the Development mailing list