Previous: Manual Pages
Up: Manual Pages
Next: cemit
Previous Page: Manual Pages
Next Page: cemit
- name:
add
- synopsis:
add inputfile1 inputfile2 outputfile
[-subtract] [{-abscissae | -both}] [-match[= tolerance]]
[-y1_factor= value] [-y2_factor= value] [-format=" format-string"]
- description:
add performs pairwise addition (or subtraction) of points from two data sets,
with error propagation for data sets with error values. By default, the program
operates on the ordinates.
- files:
inputfile1 and inputfile2 are the files to be operated on. The result is placed in
outputfile.
- options:
- abscissae
-
Requests that the roles of the abscissae and ordinates be interchanged.
- both
-
Requests that operations be performed on both the abscissae and ordinates.
- format
-
Specifies a C-style format string for printing the data to the output file.
- match
-
Requests that the program attempt to match the abscissae of the files, discarding
data at the beginning and end of the input files as necessary. The tolerance parameter (by default
) is how close two abscissa values must be to be considered the same.
- subtract
-
Requests subtraction of data set 2 from data set 1, rather than addition.
- y1_factor
-
Provides a factor by which values in data set 1 will be multiplied prior to addition/subtraction.
- y2_factor
-
Provides a factor by which values in data set 2 will be multiplied prior to addition/subtraction.
- see also:
dsc,
rescale.
borland@aps.anl.gov
Thu Dec 23 15:13:43 CST 1993