ConstWeighting.equiv¶
- ConstWeighting.equiv(other)[source]¶
Test if other is an equivalent weighting.
- Returns:
- equivalentbool
Trueif other is aWeightinginstance with the sameWeighting.impl, which yields the same result as this weighting for any input,Falseotherwise. This is checked by entry-wise comparison of matrices/arrays/constants.