/* tpwspec.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.) * ------------------------------------------------------------------------ */ /* Test: pwspec Uses: pfac */ #include "ccmath.h" #include #define MPT 50 double x[MPT]; void main(void) { double y; int kk[32],n=MPT,i; printf(" Test of Power Spectra Estimator\n"); printf(" F = 1/(k+1)\n"); for(i=0; i