Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) GslExample1

 

Technical facts

 

Operating system(s) or programming environment(s)

IDE(s):

Project type:

C++ standard:

Compiler(s):

Libraries used:

 

 

 

 

 

Qt project file: ./CppGslExample1/CppGslExample1.pro

 

TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt

INCLUDEPATH += ../../Libraries/gsl-1.16

SOURCES += main.cpp

 

 

 

 

 

./CppGslExample1/main.cpp

 

#include <iostream>
#include <gsl/gsl_sf_bessel.h>

int main ()
{
  const double x = 5.0;
  const double y = gsl_sf_bessel_J0(x);
  std::cout << "J0(" << x << ") = " << y << '\n"
}

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict

This page has been created by the tool CodeToHtml