Questions tagged [gsl]

The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers.

The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. It is free software under the GNU General Public License.

The library provides a wide range of mathematical routines such as random number generators, special functions and least-squares fitting. There are over 1000 functions in total with an extensive test suite.

http://www.gnu.org/software/gsl/

680 questions
-2
votes
1 answer

Error in boost library

I'm trying to compile my project, it contains many files and it need 3 libraries gsl,libxml,boost when i give the terminal the g++ command on ubuntu 14.04LTS g++ -Wall -I/usr/include/libxml2 -I/usr/include/gsl main.cpp YUNucNet.cpp src/*.cpp -lxml2…
M.Talafha
  • 7
  • 6
-2
votes
1 answer

GSL linear algebra example fails

I recently installed GSL for use in my computing homework. I installed it from a pre built library and linked it to CodeBlocks, then ran the test example for GSL (the bessel function) to make sure it worked. Everything going fine. Then I tried the…
Alex Howard
  • 177
  • 1
  • 12
-2
votes
1 answer

How deal with the warning deprecated conversion from string constant to char*?

I wrote a simple program about calculate the covariance. The data is read from a txt file and coverted to a matrix. and then the covariance is calculated by function calcov(). The warning deprecated conversion from string constant to char…
-3
votes
1 answer

I have a piece of code written in fortran 90 output is different when I compile it different times

I use the same compiler (gfortran) and computer every time I compile it and I don't change the source code, but on different compilations it gives a completely different outcome. Sometimes a reasonable outcome and sometimes a wrong outcome. For…
-3
votes
1 answer

warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] qt1.function = &H1

I doing integration of a complex function using gsl library in C programming language. In this code I had to declare two variables using pointer that I have done successfully. But I am facing a problem when I pass these variables in main…
1 2 3
45
46