Modulo Function with both arguments are greater than zero
fmod(HecMath tsMath)
Return the remainder of integer division of current time series by the parameter time series, tsMath. A new time series will be created which duplicates the time points of the current time series, where time points match for the current time series and tsMath, the value in the current time series will be devided by the value in tsMath provided both values are valid (no missing). Devide by zero is not allowed.When the tsMath time series value is zero, the value for the new time series will be set to missing. Also, points in the current time series which can not be match to valid points in tsMath are set to missing. For time series data, missing values are kept as missing. The new time series will always have quality defined. If a specific quality value in the parameter time series is questionable or rejected, that quality will be copied to the new time series.
For paired data sets, use the setCurve method to first select the curve(s).
See also: setCurve(),modulo()
Parameters:
tsMath the time series to be divided into the current time series.
constant – a floating-point value representing the exponent.
Example: squaredDataSet = dataSet.fmod(2.)
Returns: A new HecMath object of the same type as the current object