Scripting > Math Functions

 
Sine Trigonometric Function

sin()

 

Derive a new time series or paired data set from the sine of values of the current data set.  The resultant data set values are in radians.  For time series data, missing values are kept as missing.

 

For paired data sets, use the setCurveMethod to first select the paired data curve(s).

 

See also: setCurve()

Parameters: Takes no parameters

Example: newDataSet = dataSet.sin()

Returns: A new HecMath object of the same type as the current object