Weighting.__eq__

Weighting.__eq__(self, other)[source]

Return self == other.

Returns
equalbool

True if other is a the same weighting, False otherwise.

Notes

This operation must be computationally cheap, i.e. no large arrays may be compared entry-wise. That is the task of the equiv method.