This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Help: working with large gsl_vector


Hi, 

I'm using the multidimensional minimization procedure in GSL and have problem 
with large vectors. The dimensionality of my vectors is 300000 which means my 
index variable is of long integer type. gsl_vector, however, works only with 
size_t type only. I couldnot even call gsl_vector_alloc(300000) .  It says:

gsl: init_source.c:29: ERROR: vector length n must be positive integer
Default GSL error handler invoked.

Can somebody here give an advice? I'm quite new to GSL and I search the 
mailing list archives but could not find an answer?

For clarity, my system is an Athlon64 using SuSE x86_64, gcc 3.3.3

Thanks a lot in advance,

Toan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]