[Development] QNumericVector<T>?

Konstantin Tokarev annulen at yandex.ru
Fri Jun 2 18:58:18 CEST 2017



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?

> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

-- 
Regards,
Konstantin



More information about the Development mailing list