In this folder you find the examples used in the comparison of FunG with other AD-libraries.
All examples are compiled with the compiler flags "-std=c++1y -O3 -DNDEBUG" 

Subfolders:

  - ex1: f(x)     = x^{3/2} + sin(sqrt{x})
  - ex2: f(x)     = 1 + x(1 + x(1 + x(1+x)))
  - ex3: f(x,y,z) = xyz
 
 
In each of the subfolders the corresponding examples can be compiled and run with the following command:
 
mkdir build && cd build && cmake .. && make && ./compare

