repl.txt (412B)
1 2 {{alias}}( x ) 3 Evaluates the ramp function (single-precision). 4 5 If `x >= 0`, the function returns `x`; otherwise, the function returns zero. 6 7 Parameters 8 ---------- 9 x: number 10 Input value. 11 12 Returns 13 ------- 14 y: number 15 Function value. 16 17 Examples 18 -------- 19 > var y = {{alias}}( 3.14 ) 20 3.14 21 > y = {{alias}}( -3.14 ) 22 0.0 23 24 See Also 25 -------- 26