lua.wetgenes.tardis.array.trunc
r=it:trunc(r)
r=it:trunc(it.new())
Perform math.floor on positive values and math ceil on negative values for all values of this array. So a trunication that will always error towards 0.
If r is provided then the result is written into r and returned otherwise it is modified and returned.