/* chcof.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 void chcof(double *c,int m,double (*func)()) { double *p,*q,a,da,an,f; int j; ++m; q=c+m; a=1.570796326794897/m; da=a*2.; for(p=c; p