4 ms·
Implementing the Transcendental Functions in Ivy
- presz 8mo agoYou can't call it Ivy! That's an emacs package!
- saghm 8mo agoI 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 8mo agoBy definition, they can not be implemented. You can approximate them to some finite precision but you can not really implement them.
- Someone 8mo agoThe typical computer algebra system (https://en.wikipedia.org/wiki/Computer_algebra_system https://en.wikipedia.org/wiki/Computer_algebra_system) implements trigonometric functions just fine (with varying levels of sophistication) They can be implemented, but what you cannot always do is compute their values in a finite number.
- measurablefunc 8mo agoLet me know when you find infinite amount of time on your hands to wait for the calculation.
- HeavyStorm 8mo agoDamn, blogspot still exists! And it doesn't render well in my mobile, a product of simpler times.
- nickcw 8mo agoInteresting 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 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/ 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.
- kayo_20211030 8mo agoSuper interesting. Thank you.