Skip to content

TAN

Summary

Vector trigonometric tangent: applies tan() element-wise to each input value.

Formula

outReal[i] = tan(inReal[i])

Inputs

  • inReal — input values

Outputs

  • outReal — tangent of each input

Implementation

TA-Lib Definition: tan.c · tan.yaml

Native File
C ta_TAN.c
Rust tan.rs
Java Core.java

TA-Lib is also available for Python, R and more using a wrapper.

Aliases

tangent

See Also

ATAN · SIN · COS · TANH