rezero_array

sknano.core.rezero_array(a, epsilon=1.1102230246251565e-15) [edit on github][source]

Rezero elements of array a with absolute value less than or equal to epsilon.

Parameters:
  • a (ndarray) –
  • epsilon (float, optional) –
Returns:

a

Return type:

ndarray