[Development] QNumericVector<T>?

Jason H jhihn at gmx.com
Fri Jun 2 18:54:43 CEST 2017

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. 


More information about the Development mailing list