Scripting > Math Functions


Negation Function

neg()

 

Derive a new time series composed of the negatives of the values of the current time series.Values which are missing in the original time series will be missing in the new time series.

 

Parameters: Takes no parameters

Example: newDataSet = dataSet.neg()

Returns:  A new time series composed of the negatives of the values of the current time series