NumpyTensorSpaceConstWeighting.equiv¶
-
NumpyTensorSpaceConstWeighting.
equiv
(self, other)¶ Test if other is an equivalent weighting.
- Returns
- equivalentbool
True
if other 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.