Produced by IDL 6.1
User Documentation

./guide
subtract.pro

Last modification date:
Thu Jun 2 23:56:08 2005

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.

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: subtract.pro,v 1.4 2005/05/30 04:03:43 bgarwood Exp $

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 Thu Jun 2 23:56:51 2005