Fitting curves to data with an Arduino or Embedded hardware

If you need to easily fit a curve to a given set of data on an Arduino, or other embedded device running C, there seems to be no obvious choice in libraries, so I developed my own simple library to do it. Fitting a curve …