DATAMANIP (kdatamanip) functions


LIBRARY ROUTINE

lkfft - perform multidimensional FFT on data object

LIBRARY CALL

int lkfft (
	   kobject in_obj,
           int     center,
           int     w,
           int     h,
           int     d,
           int     t,
           int     e,
           int     scale_factor,
           int     direction,
           int     datatype,
           kobject cmplx_out)

INPUT

none

OUTPUT

none

RETURN VALUE

TRUE (1) on success, FALSE (0) on failure

DESCRIPTION

Performs a multidimensional FFT on the input object. The FFT can be requested on up to 5 dimensions. The direction of the FFT can be specified. The same routine performs both the forward and the inverse FFT. The result of the FFT operation can be scaled by either a factor of 1 (no scaling), 1/N or 1/sqrt(N) where N is the size of the FFT. Centering on the FFT/IFFT is also available as an option. lkfft performs the FFT operation on all the data primitives in the object. For example, if the FFT is requested along the width for a 5-D object then it is taken along all width primitives in the object. The size of the dimension for which FFT is requested must be a power of two and greater than 1. The output data object is always complex. It can either be single precision complex or double precision complex depending on the value of the parameter datatype.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DATAMANIP/objects/library/kdatamanip/src/lkfft.c

SEE ALSO

kdatamanip(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.