Produced by IDL 7.1.1
User Documentation

./guide
subtract.pro

Last modification date:
Wed Sep 28 13:27:09 2016

subtract

procedure subtract[, in1][, in2][, out]

This procedure subtracts the data from two data containers stored in the global buffers 0-15.

If no parameters are passed, then the data from buffer 1 is subtracted from buffer 0 and the result is stored in buffer 0. If two parameters are supplied, the second is subtracted from the first and the result is stored in buffer 0. If three parameters are supplied, the second is subtracted from the first and the result is stored in the third.

out = in1 - in2

Examples
    getrec,1
    copy,0,1
    getrec,2
    subtract

    getrec,1
    copy,0,10
    getrec,2
    copy,0,11
    subtract,10,11,12   ; The data from buffer 11 is subtracted from buffer 10
                        ; and the result is stored in buffer 12
 
Uses
dcsubtract dcpaircheck
Version
$Id$

Parameters
in1
in, optional
integer
Input data container #1
in2
in, optional
integer
Input data container #2
out
in, optional
integer
Output data container


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:36 2016