Hi,
I am trying to use the GNU Scientific Library (GSL) http://www.gnu.org/software/gsl/ in QtCreator. How can I tell Qt creator to add these flags: http://www.gnu.org/software/gsl/manual/html%5Fnode/Linking-programs-with-the-library.html to link correctly?
...
How large a system is it reasonable to attempt to do a linear regression on?
Specifically: I have a system with ~300K sample points and ~1200 linear terms. Is this computationally feasible?
...
Kindly tell me the function of matrix multiplication in GSL library. I have searched a lot but I am not be able to fine it. If any one know about that function kindly answer. Thanks in advance.
...
Hi,
This is probably a silly question, but I can't see what I am doing wrong here. I have the class:
#include <sys/time.h>
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_randist.h>
#include <cmath>
#include "randomnumbergenerator.h"
class RandomNumberGenerator
{
gsl_rng * rn;
public:
RandomNumberGenerator();
~RandomNumberGener...
Hello,
I'm trying to use the distribution functions in a Python program (the random functions I've got figured out; I'm looking specifically for gsl_cdf_beta_Pinv()) and I can't find it. Can someone tell me how I can use these or a fast alternative in a program?
Thanks,
Mark Ch.
...
Does anyone know a collection of articles or books that describes the implementation of the GNU Scientific Library?
This question is not about using the GSL; it's about how the GSL is implemented, their design decisions / tradeoffs.
Thanks!
...
I am starting to test Haskell for linear algebra. Does anyone have any recommendations for the best package for this purpose? Any other good resources for doing basic matrix manipulation with Haskell?
The haskell wiki lists several resources for this. My current focus in on hmatrix and bindings-gsl, both of which look promising.
...
What is the most efficient way to solve system of equations involving the digamma function?
I have a vector v and I want to solve for a vector w such that for all i:
digamma(sum(w)) - digamma(w_i) = v_i
and
w_i > 0
I found the gsl function gsl_sf_psi, which is the digamma function (calculated using some kind of series.) Is there an...
Hi guy, been trying out this for quite some time but
I'm still unable to built mplsh-run from lshkit
Not sure if this would help to explain my situation during the
building process
/tmp/cc17kth4.o: In function `lshkit::MultiProbeLshRecallTable::reset(lshkit::MultiProbeLshModel, unsigned int, double, double)':
mplsh-run.cpp:(.text._Z...
I need to generate quickly lots of random numbers from binomial distributions for dramatically different trial sizes (most, however, will be small). I was hoping not to have to code an algorithm by hand (see, e.g., this related discussion from November), because I'm a novice programmer and don't like reinventing wheels. It appears Boost ...
I have been trying to integrate GSL (Gnu Scientific Library) into an iPhone project using Xcode.
The challenge is GSL has all the modules in different folders, yet when their header files are reference, they often reference instead of or .
At least with I could use Xcode's recursive header file search to find it. But with , basical...
I'm investigating using nvidia GPUs for Monte-Carlo simulations. However, I would like to use the gsl random number generators and also a parallel random number generator such as SPRNG. Does anyone know if this is possible?
Update
I've played about with RNG using GPUs. At present there isn't a nice solution. The Mersenne Twister that c...
Hey guys, I'm trying to compute the cumulative distribution function of the standard normal distribution for a formula in C using the GSL (Gnu Statistics Library)
I've installed and included gsl but am having trouble understanding how to use it.
I think the function I need is:
double gsl_ran_lognormal (const gsl_rng * r, double zeta, ...
I am trying to install pygsl using latest version of GCC, i.e.:
$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659)
I get the error:
$ sudo python setup.py build
numpy
Building testing ufuncs!
running build
running build_py
running build_ext
building 'errno' extension
C compiler: gcc-4.0 -arch ppc -arch...
Hello,
Note: Despite the mentioning of Python in the following there is a good chance for my problem not to be Python related at all. If I am not mistaken the “module” I mention is equivalent to a C library—at least for the concerns of my problem.
On Debian I am trying to create a Python module with C, which in turn uses the GSL. The f...
Hi,
Is there a way in C++ to effectively create a closure which will be a function pointer? I am using the Gnu Scientific Library and I have to create a gsl_function. This function needs to effectively "close" a couple of parameters available when I create it. Is there a nice trick to create a closure so that I don't have to pass all of...
I want to use the P4 Python Package on a windows machine.
from: [http://www.bmnh.org/~pf/p4.html][1]
I have python 2.6 installed and working with numpy ready and realines.py installed.
There is a win32-gbu version of GSL installed on my windows machine, from
gnuwin32.sourceforge.net/packages/gsl.htm
When I try to install P4, using set...
I am having trouble compiling Pygsl on Mac OS X, using GCC 4.2. I ran the following:
sudo python setup.py install
And got this error:
In file included from testing/src/sf/sfmodule_testing.c:49:
testing/src/sf/sf__data.c:779: error: ‘gsl_sf_exprel_n_CF_e’ undeclared here (not in a function)
testing/src/sf/sf__data.c:806: error: ‘gsl_...
The general problem is projecting a polygon onto a plane is widely solved, but I was wondering if anybody could make some suggestions for my particular case.
I have a planar polygon P in 3-space and I would like to project it onto the plane through the origin that is orthogonal to the unit vector u. The vertices of P and the coordinates...
Hi!
I'm using the GNU GSL to do some matrix calculations. I'm trying to multiply a matrix B with the inverse of a matrix A.
Now I've noticed that the BLAS-part of GSL has a function to do this, but only if A is triangular. Is there a specific reason to this? Also, what would be the fastest way to do this computation? Should I invert A u...