Generic utility functions (pydsm.utilities)

This module includes some generic utility functions. The stability of these interfaces may not be guaranteed.

Constants

pydsm.utilities.EPS

The value returned by np.finfo(float).eps, namely the smallest representable positive numebr such that 1.0 + EPS != 1.

Functions

is_negligible(x[, tol]) Check if a number is close to zero.
chop(x[, tol]) Chop to zero input numbers that are close to zero.
mdot(*args) Dot product taking multiple arguments.
digested_options(opts, defaults[, keys, ...]) Helper function for the management of default options

Deprecated functions

db(x[, signal_type, R]) Alias for pydsm.relab.db().
cplxpair(x[, tol]) Alias for pydsm.relab.cplxpair().