Example of how to compile GNU Scientific Library code
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
dawson.cpp
dawson.png
plot.gpl

README.md

GNU Scientifc Library

Example of how to compile GNU Scientific Library code. Evaluates Dawson's integral over a range of x values.

Compile with

g++ -std=c++11 dawson.cpp -o ./dawson -lgsl -lgslcblas -lm

Run with

./dawson > results.txt

Generate the plot

gnuplot plot.gpl

Dawson integral