On Friday, 2 June 2017 09:58:18 PDT Konstantin Tokarev wrote: > 02.06.2017, 19:55, "Jason H" <[email protected]>: > > 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. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
