Divide by a Constant
divide(floating-point constant)
Divide all valid values in the current time series or paired data set by the value constant. For time series data, missing values are kept as missing.
For paired data, constant divides the y-values only. Use the setCurve method to select the paired data curve(s).
See also: divide(TimeSeriesMath tsData); setCurve()
Parameters:
constant - A floating-point value to divide the values in the current data set (cannot be zero)
Example: newDataSet = dataSet.divide(1.1)
Returns: A new HecMath object of the same type as the current object