dezfti


NAME

dezfti - initializes the array WSAVE, which is used in both DEZFTF and DEZFTB.


SYNOPSIS

  SUBROUTINE DEZFTI( N, WSAVE)
  INTEGER N
  DOUBLE PRECISION WSAVE(*)
 
  SUBROUTINE DEZFTI_64( N, WSAVE)
  INTEGER*8 N
  DOUBLE PRECISION WSAVE(*)
 

F95 INTERFACE

  SUBROUTINE DEZFTI( N, WSAVE)
  INTEGER :: N
  REAL(8), DIMENSION(:) :: WSAVE
 
  SUBROUTINE DEZFTI_64( N, WSAVE)
  INTEGER(8) :: N
  REAL(8), DIMENSION(:) :: WSAVE
 

C INTERFACE

#include <sunperf.h>

void dezfti(int n, double *wsave);

void dezfti_64(long n, double *wsave);


ARGUMENTS

* N (input)
Length of the sequence to be transformed. N >= 0.

* WSAVE (input)
On entry, an array with a dimension of at least (3 * N + 15). The same work array can be used for both DEZFTF and DEZFTB as long as N remains unchanged. Different WSAVE arrays are required for different values of N. This initialization does not have to be repeated between calls to DEZFTF or DEZFTB as long as N and WSAVE remain unchanged, thus subsequent transforms can be obtained faster than the first.