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