Skip to content
Snippets Groups Projects
Commit 273647f8 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

add comment (1->N instead of 0->N-1)
parent 858e1595
No related branches found
No related tags found
No related merge requests found
// $Id: gsl_newt.cpp,v 1.3 2003-02-20 10:05:09 remacle Exp $
// $Id: gsl_newt.cpp,v 1.4 2003-02-20 16:34:30 geuzaine Exp $
//
// Copyright (C) 1997 - 2003 C. Geuzaine, J.-F. Remacle
//
......@@ -65,6 +65,9 @@ int gslfunc(const gsl_vector *xx, void *params, gsl_vector *f){
return GSL_SUCCESS;
}
// Warning: for compatibility with the old newt from NR, x[] is
// indexed from 1 to N!
void newt(double x[], int n, int *check, void (*func)(int, double [],double [])){
const gsl_multiroot_fsolver_type *T;
gsl_multiroot_fsolver *s;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment