SUMMARY
Multiplies each data point by a constant.
SYNTAX
MUL {v1 {v2 ... vn} }
INPUT
v1: Constant to multiply first file by. v2: Constant to multiply second file by. vn: Constant to multiply nth file by.
DEFAULT VALUES
MUL 1.
DESCRIPTION
This command will multiply each element of each data file in memory by a constant. The constant may be the same or different for each data file. If there are more data files in memory than constants, then the last constant entered is used for the remainder of the data files in memory.
EXAMPLES
To multiply each element of F1 by 5.1 and each element of F2 and F3 by 6.2:
SAC> READ F1 F2 F3 SAC> MUL 5.1 6.2
Note: MULTILPLY is also an INLINE function.
HEADER CHANGES
DEPMIN, DEPMAX, DEPMEN
ERROR MESSAGES
- 1301: No data files read in.
- 1307: Illegal operation on spectral file
LATEST REVISION
January 8, 1983 (Version 8.0)