SciPy

numpy.polynomial.legendre.Legendre.has_sametype

Legendre.has_sametype(other)[source]

Check if types match.

New in version 1.7.0.

Parameters:

other : object

Class instance.

Returns:

bool : boolean

True if other is same class as self