I'd like to propose a specific element swizzle for SIMD4, which I find myself adding to every project where I use SIMD types:
extension SIMD4 {
var xyz: SIMD3<Scalar> {
return self[SIMD3(0, 1, 2)]
}
}
I know that it is preferred that we don't add every element swizzle, only the particularly useful ones, and I find this one to be particularly useful, as I constantly find myself adding it to graphics related projects.
Since I will probably be adding SwiftNumerics to any future graphics projects, it would be nice to have this particular swizzle included.