/* psqcf.c CCMATH mathematics library source code. * * Copyright (C) 2000 Daniel A. Atkinson All rights reserved. * This code may be redistributed under the terms of the GNU library * public license (LGPL). ( See the lgpl.license file for details.) * ------------------------------------------------------------------------ */ #include #include "orpol.h" void psqcf(double *b,Opol *c,int m) { int i,j,k; double *sm,*s,u,v; if(m>1){ sm=(double *)calloc(m*m,sizeof(double)); sm[0]=sm[m+1]=1.; sm[1]= -c[0].df; for(i=2; i