fft_nrfft5 - return mixed radix 2,3,5 size


SYNOPSIS

#include <fft.h> (fixed-format sources)
#include <f90fft.h> (free-format sources)

integer function fft_nrfft5(n)

integer n

DESCRIPTION

The function, "fft_nrfft5", is provided for determining an appropriate radix 2,3,5 value to pad out to for the FFT's. Given the integer input, "n", the function returns the integer M such that M is the smallest number greater than or equal to "n" such that M = 2**i * 3**j * 5**k where i is a positive integer and j & k are non-negative integers.

AUTHOR

Phuong Vu, HPC
Jerry Ehlers, EPTG