News for hackers. Stuff that matters.
Re:Alternative notation for exponents, logs and roots? (2011) by diffeomorphism on Wednesday December 02, 2020 @01:08PM (#25279295)
We have a unified notation already?

x^y = z

x = z^{1/y}

\log(x) y = \log(z)

Some of these generalize well to complex numbers/matrices/groups/flows/etc. some don't.

Re:Alternative notation for exponents, logs and roots? (2011) by cuspycode on Wednesday December 02, 2020 @01:35PM (#25279663)
I would like a more unified notation for the concept of "inverse". But I have no good suggestions for how to implement that. However, I have some bad suggestions just to illustrate what I mean:

INV(*) x, instead of 1/x

INV(+) x, instead of -x

INV(f) x, instead of f^{-1}(x)

The last one should really be (INV(°) f) x = f^{-1}(x), where ° denotes function composition as the group operator. But involving this operator in the notation would probably be overkill in most circumstances.