math-mumu 0.1.8

Math functions plugin for the MuMu / Lava language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
extend("math")

slog( math:multiply(6,7)) // 42

partialM = math:multiply(10)
slog(partialM(9)) // 90

partialY = math:multiply(_, 3)
slog(partialY(11)) // 33

slog( math:multiply(5, [2,4,6]) )  // => [ 10, 20, 30 ]
slog( math:multiply([3,3,3], 2) )  // => [ 6, 6, 6 ]