pyFDN.is_almost_zero#

pyFDN.is_almost_zero(A, tol=1e-12)[source]#

Test whether matrix/vector is almost zero in absolute values.

Parameters:
  • A (ndarray) – Numerical values to be tested

  • tol (float) – Tolerance value for max deviation from 0

Returns:

Boolean whether all values in A are almost 0

Return type:

isZ