Use Non-Frames Version Previous Page Next Page
GEN Routines: Numeric Value Access

GEN02

  f  #  time  size  2  v1  v2  v3  .  .  .   

Description

This subroutine transfers data from immediate pfields into a function table.

Initialization

size – number of points in the table. Must be a power of 2 or a power-of-2 plus 1 ( see f statement). The maximum tablesize is 16777216 (224) points.

v1, v2, v3, ... - values to be copied directly into the table space. The number of values is limited by the compile-time variable PMAX, which controls the maximum pfields (currently 150). The values copied may include the table guard point; any table locations not filled will contain zeros.

Note

If p4 is positive, the table will be post-normalized (rescaled to a maximum absolute value of 1 after generation). A negative p4 will cause rescaling to be skipped.

Example

  f   1  0  16  -2  0  1  2  3  4  5  6  7  8  9  10  11  0 

This calls upon GEN02 to place 12 values plus an explicit wrap-around guard value into a table of size next-highest power of 2. Rescaling is inhibited.


Use Non-Frames Version Previous Page Next Page
GEN Routines: Numeric Value Access