Input/Output:
|
| Level 1/Argument 1 |
| Level 1/Item 1 | ||||
|
|
|
|
|
|
|
|
|
|
|
|
| nflag number |
|
| → | 0/1 |
| If flag |
|
| |||||
Example: | set, |
| ||||||
See also: | CF, FC?, FS? FS?C, SF |
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
FDISTRIB |
|
|
|
|
|
|
|
|
Type: | Command |
|
|
|
|
|
| |
Description: | Performs a full distribution of multiplication and division with respect to addition and subtraction | |||||||
| in a single step. |
|
|
|
|
|
| |
Access: | !Ú REWRITE |
|
|
|
|
|
| |
Input: | An expression. |
|
|
|
|
|
| |
Output: | An equivalent expression that results from fully applying the distributive property of | |||||||
| multiplication and division over addition and subtraction. |
| ||||||
Flags: | Exact mode must be set (flag |
|
| |||||
| Numeric mode must not be set (flag |
| ||||||
Example: | Expand |
|
|
|
|
|
| |
Command: |
|
|
|
| ||||
Result: | ||||||||
|
|
|
|
| ||||
See also: | DISTRIB |
|
|
|
|
|
| |
FFT | Command |
|
|
|
|
|
| |
Type: |
|
|
|
|
|
| ||
Description: | Discrete Fourier Transform Command: Computes the one- or | |||||||
| transform of an array. |
|
|
|
|
|
| |
| If the argument is an | |||||||
| transform. If the argument is an M × N matrix, FFT computes the | |||||||
| and N must be integral powers of 2. |
|
|
|
| |||
| The | |||||||
|
|
|
| – 1 |
| 2πikn |
| |
|
|
|
|
|
| |||
|
| Y | k | = ∑ X | n | e | , i = |
|
n = 0
for k = 0, 1, …, N – 1.
The two dimensional discrete Fourier transform of an M × N matrix X is the M × N matrix Y where:
|
|
| M – 1 | – 1 |
| 2πikm | 2πi ln |
|
|
|
| ||||
Y | kl | = | ∑ ∑ x | mn | |||
|
| m = 0 | n = 0 |
|
| ||
|
|
|
|
|
|
for k = 0, 1, …, M – 1 and l = 0, 1, …, N – 1.
The discrete Fourier transform and its inverse are defined for any positive sequence length. However, the calculation can be performed very rapidly when the sequence length is a power of two, and the resulting algorithms are called the fast Fourier transform (FFT) and inverse fast Fourier transform (IFFT).
The FFT command uses truncated