No inverse trig in pm.math functions?

The computational backend for PyMC is pytensor. pm.math aliases some commonly used functions, but you can find almost all numpy-equivalent functions in pytensor.tensor. For example:

import pytensor.tensor as pt
x = pt.arccos(1)
x.eval()
>>> Out: array(0., dtype=float32)
1 Like