ArrayWeighting.equiv

ArrayWeighting.equiv(self, other)[source]

Return True if other is an equivalent weighting.

Returns
equivalentbool

True if other is a Weighting instance with the same Weighting.impl, which yields the same result as this weighting for any input, False otherwise. This is checked by entry-wise comparison of arrays/constants.