Boost logo

Boost :

Subject: Re: [boost] [qvm] Terseness of syntax etc.
From: Agustín K-ballo Bergé (kaballo86_at_[hidden])
Date: 2015-12-09 09:35:52

On 12/9/2015 11:23 AM, Phil Endecott wrote:
> Emil Dotchevski wrote:
>> There is no good solution for swizzling, unfortunately.
> As an aside, I think it would be useful to present a motivation for the
> "swizzling" operations. I.e. a simple "real" example of why you might
> want to "swizzle".
> Also, I find the word "swizzle" a bit odd. To me it means the same as
> "munge" or "frobnicate" i.e. it's a nonsense-word that you use as a
> placeholder. I think what you're really doing is often a permutation,
> and could be named e.g. permuteZYX() - but there are other cases where
> you're duplicating or removing elements that aren't strictly permutations.
> Maybe there is some other mathematical term that encompasses that.

"Swizzling" is how the operation is called in computer graphics, and
that's the name people familiar with it will be looking for.


Agustín K-ballo Bergé.-

Boost list run by bdawes at, gregod at, cpdaniel at, john at