24#include <boost/format.hpp>
26#include <gsl/gsl_sf_bessel.h>
27#include <gsl/gsl_version.h>
45 log.info() <<
"GSL version: " << gsl_version;
48 double y = gsl_sf_bessel_J0(x);
50 log.info() << boost::format(
"J0(%g) = %.18e\n") % x % y;
Macro to silence unused variables warnings from the compiler.
ExitCode mainMethod(ELEMENTS_UNUSED map< string, VariableValue > &args) override
Simple example of an Elements program.
static Logging getLogger(const std::string &name="")
ExitCode
Strongly typed exit numbers.
#define MAIN_FOR(ELEMENTS_PROGRAM_NAME)