Show HN: Chebyshev approximation calculator

Hi everyone,

here's a web app I made that generates code for efficiently approximating mathematical functions. This is useful when performance matters more than perfect accuracy, for example in embedded systems.

The app uses Chebyshev expansions, which despite their theoretical depth result in suprisingly compact and readable code in practice. This code is generated for you and using it does not require any knowledge of the underlying theory.

Source code and more info: https://github.com/stuffmatic/chebyshev-calculator

278 points stuffmatic 2 years ago 51 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton