方法
polynomial.legendre.Legendre.
has_samedomain
检查域是否匹配。
1.6.0 新版功能.
另一个班级必须有 domain 属性。
domain
如果域相同,则为true,否则为false。