Torus - math library for own projects
- gnuplot (software for generation plots of functions, data, and data fits)
Installation of gnuplot in Debian, Ubuntu and etc.
sudo apt install gnuplot
First clone this repository:
git clone https://github.com/alkuzin/torus.git
Then move to library directory and build library:
cd torus/ && make all
Then include the header file in your project (e.g. statistics.hpp):
#include <torus/statistics.hpp>
// project code here
Finaly compile and run your project, including libtorus.a
file:
g++ -I include/ <your-source-files> libtorus.a -o <executable-name> && ./<executable-name>
To return everything to original state:
make fclean
- gtest (library for writing test programs) installation:
sudo apt-get install libgtest-dev
To run tests use:
make tests
To return everything to original state:
make clean_tests