truncate the (precision) matrix

trunc_precision(z, threshold = 0.01)

Arguments

z

a matrix

threshold

the threshold value, where if a value's absolute value is less than this, it will be truncated to zero.

Value

a truncated matrix