Skip to content

Add more math functions

Zach Weiner requested to merge zweiner2/pymbolic:add-more-math-functions into master

Adds hyperbolic trig functions, expm1, and fabs, as well as rules for their derivatives. This means an additional function sgn which just computes sgn(x) = x / fabs(x). Happy to implement a better solution here.

Merge request reports