Implementing the Transcendental Functions in Ivy

(commandcenter.blogspot.com)

31 points | by chmaynard 5 days ago ago

6 comments

  • nickcw 20 minutes ago

    Interesting reading about the difficulties with arctan.

    There is a better series for arctan than the Taylor series which converges for all x. You can see it here in the accelerated series section

    https://en.wikipedia.org/wiki/Arctangent_series

    I wrote about it in my calculating pi blog some time ago

    https://www.craig-wood.com/nick/articles/pi-machin/

    It also takes fewer operations which is nice.

    I thought it was invented by Euler but the Wikipedia article says Newton invented it and Euler popularized it.

  • HeavyStorm 41 minutes ago

    Damn, blogspot still exists! And it doesn't render well in my mobile, a product of simpler times.

  • presz 3 hours ago

    You can't call it Ivy! That's an emacs package!

    • saghm 2 hours ago

      I genuinely can't tell if this is serious or not (or if the fact that it's impossible to tell is itself the point)

  • measurablefunc an hour ago

    By definition, they can not be implemented. You can approximate them to some finite precision but you can not really implement them.

  • kayo_20211030 5 hours ago

    Super interesting. Thank you.