lua.wetgenes.tardis.array.quantize
r=it:quantize(1/1024,r)
r=it:quantize(s,it.new())
Perform a trunc(v/s)*s on all values of this array. We recomended the use of a power of two, eg 1/1024 rather than 1/1000 if you wanted 3 decimal digits.
If r is provided then the result is written into r and returned otherwise it is modified and returned.