CCL Home Page
Up Directory CCL sum_resi
#include "simplex.h"

#define sqr(x) ((x) * (x))

sum_residual(x)
double    *x;
{
     register int   i;

     x[N-1] = 0.0;

     for (i=0 ; i 0 */
     for (i=0 ; i< M ; i++)
	{
	if (x[i] < 0.0) x[N-1]= 9.999e99;
	}
}
Modified: Fri May 31 16:00:00 1991 GMT
Page accessed 4448 times since Sat Apr 17 22:30:10 1999 GMT