The first stage in creating a transformation is to formulate a description of it in a form which may be used in a program. In future, there may be a number of ways of formulating such a description and of creating a corresponding transformation from it. At present, however, only one method is supported, based on the explicit use of transformation functions.
For instance, suppose you wished to create the [
] transformation relating a two-dimensional Cartesian
coordinate system
to a Polar system
.
In this case, the transformation's two mappings might be defined in terms of
the following transformation functions:
This description of the transformation could now be used in a program by converting it directly into character data, as follows:
TRANSFORM Coordinate Transformation Facility