2QdxY4RzWzUUiLuE@potatochowder.com writes:
On 2020-07-05 at 12:18:54 +0900, "Stephen J. Turnbull"
wrote: Which suggests the question: Is there a commonly used equivalent for complex numbers?
How would that work? Complex numbers are unordered, but I suspect that you know that.
Oh, that's not a problem. Impose one, and done. If you insist on two complex-parameter bounds, there's at least one interesting way to specify a total order with a connected "region" "between" any two complex numbers: lexicographic in (magnitude, argument). But my question was more "what's the use case?" So I'm not persuaded by thinking of confining the mouse pointer to a window whose points are represented by complex numbers. I was more wondering if, for example, it would be useful in working with electromagnetic waveforms, or such applications where for some reason the complex plane is more useful than the real one. But let's think bigger, much bigger. Really, clamp is a topological concept with a bounding *set*. What's not to love about clamp(z, Mandelbrot)? :-)