Reference/tan

From Kx Wiki
Jump to: navigation, search

Contents

tan (tangent function)

The tan function computes the tangent of its argument, taken to be in radians. Integer arguments are promoted to floating point. Null is returned if the argument is null or infinity.

Syntax

q)r:tan X

Example

q)tan 0 0.5 1 1.5707963 2 0w
0 0.5463025 1.557408 3.732054e+07 -2.18504 0n

See also


For a complete list of functions, see the kdb+ Function Reference.

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox