To use ForDiff as a dependency in your fpm project, include the following line in your fpm.toml file: example/demo1.f90 demonstrates how to compute the derivative of a scalar-valued function w.r.t to ...