MatrixWeighting.equiv¶
-
MatrixWeighting.
equiv
(self, other)[source]¶ Test if other is an equivalent weighting.
- Returns
- equivalentbool
True
ifother
is aWeighting
instance with the sameWeighting.impl
, which yields the same result as this weighting for any input,False
otherwise. This is checked by entry-wise comparison of matrices/arrays/constants.