numpy.polynomial.legendre.Legendre.has_sametype

原文:https://docs.scipy.org/doc/numpy/reference/generated/numpy.polynomial.legendre.Legendre.has_sametype.html

译者:飞龙 UsyiyiCN

校对:(虚位以待)

Legendre.has_sametype(other)[source]

检查类型是否匹配。

版本1.7.0中的新功能。

参数:

其他:对象

类实例。

返回:

bool:boolean

如果其他是与self相同的类,则为true