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

Language Guide / Functions · Generated namespace reference

atan

klang::atan

Inverse tangent in radians.

Returns an angle between −π/2 and π/2. Its bounded response can work as a soft saturator.

-2.5-1.19-1.25-0.595001.250.5952.51.19ResultInput x
atan(x)

Based on std::atan.

Direct call

const signal shaped = atan(sample * 3);

Signal flow

const signal shaped = sample * 3 >> atan;