sint
sint - compute the discrete Fourier sine transform of an odd sequence.
The SINT transforms are unnormalized inverses of themselves, so a call
of SINT followed by another call of SINT will multiply the input sequence
by 2 * (N+1).
SUBROUTINE SINT( N, X, WSAVE)
INTEGER N
REAL X(*), WSAVE(*)
SUBROUTINE SINT_64( N, X, WSAVE)
INTEGER*8 N
REAL X(*), WSAVE(*)
SUBROUTINE SINT( [N], X, WSAVE)
INTEGER :: N
REAL, DIMENSION(:) :: X, WSAVE
SUBROUTINE SINT_64( [N], X, WSAVE)
INTEGER(8) :: N
REAL, DIMENSION(:) :: X, WSAVE
#include <sunperf.h>
void sint(int n, float *x, float *wsave);
void sint_64(long n, float *x, float *wsave);
-
* N (input)
-
Length of the sequence to be transformed. These subroutines
are most efficient when N+1 is a product of small primes. N >= 0.
-
* X (input/output)
-
On entry, an array of length N containing the sequence to be
transformed. On exit, the sine transform of the input.
-
* WSAVE (input/output)
-
On entry, an array with dimension of at least int(2.5 * N + 15)
initialized by SINTI.