This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Newton's method
- From: Francisco J Molina <fjmolina at lbl dot gov>
- To: <gsl-discuss at sources dot redhat dot com>
- Date: Thu, 31 Jul 2003 15:34:26 -0700
- Subject: Newton's method
- Reply-to: fjmolina at lbl dot gov
In gsl_multiroot_function the prototype of the member function f
is
int f (gsl_vector * x, void * p, _matrix * f ).
I am trying to avoid the use of the function
gsl_vector_get ( x, 0 );
and supstitute it with
pX = x->data;
pX [ 0 ];
Is this safe? Is the stride of x always 1?
Thank you.