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

Language Guide / Functions ยท Generated API signature

cube

klang::cube

Cubes its input.

Raises the input to the third power and preserves its sign. It can shape a bipolar signal.

-2-8-1-4001428ResultInput x
cube(x)

Direct call

const signal shaped = cube(sample);

Signal flow

const signal shaped = sample >> cube;