I was just ruminating some more on jimmying color maps, and your code for
utilizing complex numbers in yuqk:
Do you have a mechanism that "switches over" from real to imaginary upon taking
the sqrt of a negative number?
Math with imaginary numbers seems burdensome when one has to begin implementing
special-purpose functions at the user level. Are there libraries that treat ALL
numbers as complex numbers, and only use special operations when the imaginary
component is nonzero?
I'm thinking that if your function VM were able to at least handle the
dot-notation of vector values (currently we have to pre-declare identifiers for
the separate vector components instead of simply using Vector.x) then you could
potentially use some nested select () to divert the math one way or the other.
Post a reply to this message
|