Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Simple least-squares polynomial fit routine written in C (with tests written in CppUTest).
|Failed to load latest commit information.|
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.