public override bool Equals(object other) { if (!(other is SphericalHarmonicsL2)) { return false; } SphericalHarmonicsL2 sl = (SphericalHarmonicsL2) other; return (this == sl); }