Swizzling (computer graphics)
In computer graphics, swizzling is the ability to compose vectors by arbitrarily rearranging and combining components of other vectors. For example, if codice_1, where the components are codice_2, codice_3, codice_4, and codice_5 respectively, you could compute codice_6, whereupon codice_7 would equal codice_8. Additionally, combining two two-component vectors can create a four-component vector, or any combination of vectors and swizzling. This is common in GPGPU applications. In terms of linear algebra, this is equivalent to multiplying by a matrix whose rows are standard basis vectors. If formula_1, then swizzling formula_2 as above looks like Swizzling (computer