HP MLIB User's Guide Vol. 2 7th Ed.
590 HP MLIB User’s Guide
SRCFTS/DRCFTS Simultaneous real-to-complex one-dimensional FFT
ier Status response:
ier = 0 Normal return—transform successful.
ier = −1 l ≤ 0.
ier = −2 incl ≤ 0.
ier = −3 n ≤ 0.
ier = −4 incn ≤ 0.
ier = −5 l, incl, n, and incn are incompatible.
Refer to “Notes.”
Notes Typically, x will be a two- or three-dimensional array with each set of data
being a one-dimensional section of the array, that is, all but one subscript will
be constant within a data set.
If x is a two-dimensional array of dimension ldx by mdx, and if the data sets are
stored in the columns of x, then l+2 ≤ ldx, n ≤ mdx, incl = 1, and incn = ldx. For
example,
CALL SRCFTS (x, l, 1, n, ldxy, iopt, ier)
If x is a two-dimensional array as above and the data sets are stored in the rows
of x, then l+2 ≤ mdx, n ≤ ldx, incl = ldx, and incn = 1. For example,
CALL SRCFTS (x, l, ldxy, n, 1, iopt, ier)
If x is a three-dimensional array of dimension ldx by mdx by ndx, then incl and
incn will usually be 1, ldx, or ldx×mdx, depending on which of the subscripts of
the three-dimensional array varies within a data set, which subscript varies
between data sets, and which remains constant. Specifically, if the subscript
that varies within a data set is the
Similarly, if the subscript that varies between data sets is the
1st subscript, use incl = 1.
2nd subscript, use incl = ldx.
3rd subscript, use incl = ldx×mdx.
1st subscript, use incn = 1.
2nd subscript, use incn = ldx.
3rd subscript, use incn = ldx×mdx.