Inverse ( 1/X )
Function
inverse()
Derive a new time series or paired data set from the inverse (1/x) of values of the current data set. The inverse value is computed by 1.0 divided by the value of the current data set. If a data value is equal to 0.0, the value in the resultant data set is set to missing. For time series data, if the original value is missing, the value remains missing in the resultant data set.
For paired data sets, use the setCurve method to first select the paired data curve(s).
See also: setCurve()
Parameters: Takes no parameters
Example: newDataSet = dataSet.inverse()
Returns: A HecMath object of the same type as the current object.