LovelyCatHyt / polyfit

Simple least-squares polynomial fit routine written in C (with tests written in CppUTest).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project implements a simple least-squares polynomial fit routine written in C and also provides a very simple example of how to use CppUTest in a project.

The "CppUTest" framework (https://cpputest.github.io/) is used for testing and is bundled into the Makefile.  Running "make" results in a compilation as well as test of the polyfit() routine.

See "test_polyfit.cpp" for an example of how to call the polyfit() routine if you are not interested in the CppUTest portions.


About

Simple least-squares polynomial fit routine written in C (with tests written in CppUTest).


Languages

Language:C 53.2%Language:C++ 40.1%Language:Makefile 6.7%