ADDMAP(1)



NAME

     addmap - form  a  linear  combination  of  two  datasets  of
     equivalent structure


SYNOPSIS

     addmap [-qv] [argument= value ...]


DESCRIPTION

     addmap forms an output dataset from the  linear  combination
     of two input datasets A and B with optional scaling:

          out = a * A + b * B

     The output dataset is numbered from 0 and is as long as  the
     smaller of the two input ranges.


OPTIONS

     a=float             The  scaling  value  for  the  matrix  A
                         (default 1.0).

     inA=name            The dataset name of the matrix A.

     b=float             The  scaling  value  for  the  matrix  B
                         (default 1.0).

     inB=name            The dataset name of the matrix B.

     out=name            The dataset name of the output matrix.


EXAMPLES


FILES

     none


SEE ALSO


DIAGNOSTICS


BUGS

     The input and output datasets must be  represented  as  FITS
     files.


AUTHOR

     Kay Leibrand


HISTORY

     1994-11-10     SOI Version 0.9