CMULT

Multiplies an NDF by a scalar

Description:

This application multiplies each pixel of an NDF  by a scalar (constant) value to produce a new NDF.

Usage:

cmult in scalar out

Parameters:

IN = NDF (Read)
Input NDF structure whose pixels are to be multiplied by a scalar.
OUT = NDF (Write)
Output NDF structure.
SCALAR = _DOUBLE (Read)
The value by which the NDF’s pixels are to be multiplied.
TITLE = LITERAL (Read)
A title for the output NDF. A null value will cause the title of the NDF supplied for Parameter IN to be used instead. [!]

Examples:

cmult a 12.5 b
Multiplies all the pixels in the NDF called a by the constant value 12.5 to produce a new NDF called b.
cmult in=rawdata out=newdata scalar=-19
Multiplies all the pixels in the NDF called rawdata by 19 to give newdata.

Related Applications

KAPPA: ADD, CADD, CDIV, CSUB, DIV, MATHS, MULT, SUB.

Implementation Status: