[Help-gsl] ode problem

2005-09-07 Thread Tomasz Samotyjak, PWSZ
Hi, I've tried to use gsl fo ode's. The jac and func is: int func (double t, const double y[], double f[], void *params) { double* mu = (double *)params; double R1 = mu[0], R2 = R1; double L1 = mu[1], L2 = L1; double C1 = mu[2]; f[0] = 1/L1 * ( 400*sin(314*t) - f[1] - R1 * f[0] ); f[

Re: [Help-gsl] Vector transposition

2005-09-07 Thread Thomas Weber
Hi Till, I am sending this to the list (you replied to me only). > i would need it to compute a generalized cross validation algorithm, > actually there's a step in the procedure where i need to do x^T A x, okay, so you need a scalar product (or dot product) with a matrix A, namely y = A*x c

Re: [Help-gsl] Vector transposition

2005-09-07 Thread Thomas Weber
Hi > is there a way to handle vector transposition in GSL without defining > the vector as a single column matrix ? What do you need it for? Regards Thomas ___ Help-gsl mailing list Help-gsl@gnu.org http://lists.gnu.org/mailman/listinfo/help-

[Help-gsl] Vector transposition

2005-09-07 Thread Till Isambert
Hi, is there a way to handle vector transposition in GSL without defining the vector as a single column matrix ? thanks by advance, cheers ___ Help-gsl mailing list Help-gsl@gnu.org http://lists.gnu.org/mailman/listinfo/help-gsl

Re: [Help-gsl] Help linking with gsl

2005-09-07 Thread Brian Gough
Sunil Suram writes: > I have installed gsl on my linux box. My compile line is gcc -Wall > -I/usr/local/include -c example1.cc This works fine. My linking > line is gcc example1.o -L/usr/local/lib -lgsl -lgslcblas -lm On > doing this I get the following error. example1.o(.eh_frame+0x11): >