ArrayWeighting.equiv
- ArrayWeighting.equiv(other)[source]
Return True if other is an equivalent weighting.
Returns
- equivalentbool
Trueifotheris 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 arrays/constants.