Scripting > Math Functions


Tangent Trigonometric Function

tan()

 

Derive a time series or paired data set computed from the tangent of values of the current data set.  For time series data, missing values are kept as missing.  If the cosine of the current time series value is zero, the value is set missing.

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

 

See also:  setCurve()

Example: newDataSet = dataSet.tan()

Parameters:  Takes no parameters

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