sknano.core.math.Vectors.rezero

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

Set really really small coordinates to zero.

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

Parameters:

epsilon : float

smallest allowed absolute value of any \(x,y,z\) component.