Klang C++ 0.7.15
Language Reference (draft)
Loading...
Searching...
No Matches
tan

Language Guide / Functions · Generated namespace reference

tan

klang::tan

Tangent of an angle in radians.

Returns the tangent of an angle in radians. The function has poles at odd multiples of π/2.

-1.4-5.8-0.7-2.9000.72.91.45.8ResultInput x (radians)
tan(x)

Based on std::tan.

Direct call

const signal tangent = tan(phase);

Signal flow

const signal tangent = phase >> tan;