KPG1_SSCOF

Applies a simple scaling and base-line shift to create the output vector

Description:

Pixel indices are multiplied by the given factor and the given offset is then added on, to form the output data. The first pixel has value equal to the offset.

Invocation

CALL KPG1_SSCOF( EL, FACTOR, OFFSET, OUT, STATUS )

Arguments

EL = INTEGER (Given)
The number elements in the returned array.
FACTOR = DOUBLE PRECISION (Given)
The factor by which the array indices are scaled.
OFFSET = DOUBLE PRECISION (Given)
The offset by which the array indices are shifted.
OUT( EL ) = REAL (Given)
The output data vector.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:

There is no exception handler if the evaluated value exceeds the machine floating-pint range.