cosqf - compute the Fourier coefficients in a cosine series representation with only odd wave numbers. The COSQ operations are unnormalized inverses of themselves, so a call to COSQF followed by a call to COSQB will multiply the input sequence by 4 * N.
SUBROUTINE COSQF( N, X, WSAVE) INTEGER N REAL X(*), WSAVE(*)
SUBROUTINE COSQF_64( N, X, WSAVE) INTEGER*8 N REAL X(*), WSAVE(*)
SUBROUTINE COSQF( N, X, WSAVE) INTEGER :: N REAL, DIMENSION(:) :: X, WSAVE
SUBROUTINE COSQF_64( N, X, WSAVE) INTEGER(8) :: N REAL, DIMENSION(:) :: X, WSAVE
#include <sunperf.h>
void cosqf(int n, float *x, float *wsave);
void cosqf_64(long n, float *x, float *wsave);