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?
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development