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/

748 questions
-1
votes
3 answers

best way to get outer product in GSL

I have two vectors, x, y and I need to get outer product i.e xy'. I have to do this in GSL library and I am not sure if there is a function to do it. Can anyone tell me if there is a function or procedure to calculate the outer product in GSL?
Morpheus
  • 3,285
  • 4
  • 27
  • 57
-1
votes
2 answers

RcppGSL Windows installation trouble

I'm trying to install RcppGSL as presented in Linking GSL library to RcppGSL on Windows machine after copping the library as presented in the link above to C:/local323 and moving all the files in x64 up one directory into into LIB_GSL/lib as…
steve3051980
  • 129
  • 3
-1
votes
2 answers

Can't exec "gsl-config": No such file or directory at Build.pl

I used strawberry perl in windows 7. I need to install Math-GSL-0.36. using command: perl Build.PL But the command give error: Checking for GSL using gsl-config Can't exec "gsl-config": No such file or directory at Build.pl line 305. *** Can't…
Animesh Kumar Paul
  • 2,241
  • 4
  • 26
  • 37
-1
votes
1 answer

linux redhat gsl R installation error: cannot run C compiled programs.

I was trying to install the R gsl wrapper in our university's HPC cluster, with R version 3.1.1 and OS x86_64-redhat-linux-gnu (64-bit). But something weird happened: R CMD INSTALL '/d1/pyangac/gsl_1.9-10.1.tar.gz' * installing to library…
hippolion
  • 17
  • 2
-1
votes
2 answers

C: running GSL functions

The computer is refusing to run programs including GSL functions, despite the program compiling successfully. For example, consider the following program given as an example on the GSL website: // Test program for GSL RNG #include…
-1
votes
1 answer

How to add a gsl library in window using the compiler tcc?

At the moment I am able to compile and run a basic "Hello World" programme by using the windows command prompt via the command: tcc.test.c followed by test.exe. where test is the name of the file contaaing the code for the "Hello World"…
Usama
  • 11
  • 2
-1
votes
2 answers

Cast from void * produces Segmentation Violation error

I'm using the Gnu Scientific Library to implement a module in my program that computes integrals numerically. The functions are based on the example that can be found on the GSL website in Numerical integration examples: and here's my code (most of…
Natalia Zoń
  • 980
  • 2
  • 12
  • 22
-2
votes
1 answer

using agg (antigrain) library and getting gsl shell working

My main aim is to get the GSL Shell working on my OSX 10.7 system. So far I have the correct version of lua with the correct patches running. I also have a working version of GSL which compiles and runs example programs. I can build agg perfectly…
Ferguzz
  • 5,777
  • 7
  • 34
  • 41
-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
  • 319
  • 3
  • 13
-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
49
50