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]

Re: cholesky decomposition bug?


Pedro Gonnet writes:
 > the c-code that does the decomposition is, abreviated:
 > 
 > 	A = gsl_matrix_view_array(H,n,n);
 > 	b = gsl_vector_view_array(g,n);
 > 	x = gsl_vector_view_array(x_delta,n);
 > 	gsl_set_error_handler_off();
 > 	if ((res = gsl_linalg_cholesky_decomp(&A.matrix)) != 0) {
 > 		...
 > 		}
 > 	gsl_linalg_cholesky_solve(&A.matrix,&b.vector,&x.vector);
 > 
 > this stuff works sometimes, so i don't think it's a coding problem on my
 > behalf.


Please can you send a complete standalone program which reproduces the
problem, thanks.

Brian


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