Am 12.08.2021 um 14:10 schrieb Sven Schreiber:
Am 02.06.2021 um 00:16 schrieb Sven Schreiber:
> Hi,
> I'm wondering why the cmod() function is needed. It computes the modulus
> of a complex number (or many of them in a matrix), OK fine. But so does
> abs(). And abs() also works on plain real numbers, where cmod cannot be
> used. Could it be a path-dependent thing: first abs() didn't cover
> complex numbers but then rendered cmod() obsolete by also working on
> those? Or is there anything else which I'm missing?
>
> Otherwise, maybe a case for deprecating or hiding cmod?
Sorry, for all these "ping"-style messages, but this wasn't resolved.
It's redundant and obsolete since full complex number support has been
introduced, isn't it?
OK, perhaps cmod() will be hidden at some time in the future. To be on
the safe side, I think a good advice (for the few people who actually
have been using cmod) is to use abs() always.
cheers
sven