sknano.core.math.Vector.rezero

Vector.rezero(epsilon=1e-10)[source][source]

Re-zero Vector coordinates near zero.

Set Vector coordinates with absolute value less than epsilon to zero.

Parameters:

epsilon : float, optional

Smallest allowed absolute value of any \(x,y,z\) coordinate.