ATL_TOLUT

Approximate a supplied Mapping by one or more LutMaps

Description:

This routine creates a Mapping that uses one or more LutMaps to approximate the supplied Mapping. The supplied Mapping must have 1 input but can have up to ATL__MXDIM outputs. One LutMap will be created for each output and combined in parallel in the output Mapping. The range of input VALUE over which the approximation is to be valid is specified, together with the input step size for the LutMaps.

Invocation

CALL ATL_TOLUT( INMAP, XLO, XHI, DX, OPTS, OUTMAP, STATUS )

Arguments

INMAP = INTEGER (Given)
The Mapping to be approximated. Must have only 1 input, and up to ATL__MXDIM outputs.
XLO = DOUBLE PRECISION (Given)
The lowest value of the INMAP input value for which the returned Mapping will be used.
XHI = DOUBLE PRECISION (Given)
The highest value of the INMAP input value for which the returned Mapping will be used.
DX = DOUBLE PRECISION (Given)
The increment in INMAP input value to be used when creating the LutMaps.
OPTS = CHARACTER ( ) (Given)
Options to pass to the LutMap constructor.
OUTMAP = INTEGER (Returned)
An AST pointer to the returned Mapping, or AST__NULL if no Mapping could be created. This will have the same number of inputs and outputs as INMAP.
STATUS = INTEGER (Given and Returned)
The global status.