Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | mathematics | |
Tool | fftserver |
a | Complex array to transform | ||
axes | axes to transform | ||
Allowed: | Vector of Booleans | ||
forward | Direction of the transform | ||
Allowed: | T=forward, F=reverse | ||
Default: | T |
Backward transforms are specified by setting the forward argument to False. The default is to do forward transforms.
The returned (transformed) array is the same shape as the input array.
include 'fftserver.g' server := fftserver(); a := array(0,3,4); a[,] := 1; # set all elements to 1 b1 := server.mfft(a, [T,F]); # transform along axis 1 b2 := server.mfft(a, [F,T]); # transform along axis 2 b := server.mfft(a, [T,T]); # transform along both axes, ie., a 2-D transform.