bundles / numpy 2.4.4 / numpy / polynomial / _polybase / ABCPolyBase / _get_coefficients
function
numpy.polynomial._polybase:ABCPolyBase._get_coefficients
Signature
def _get_coefficients ( self , other ) Summary
Interpret other as polynomial coefficients.
Extended Summary
The other argument is checked to see if it is of the same class as self with identical domain and window. If so, return its coefficients, otherwise return other.
Parameters
other: anythingObject to be checked.
Returns
: coefThe coefficients of`other` if it is a compatible instance, of ABCPolyBase, otherwise
other.
Raises
: TypeErrorWhen
otheris an incompatible instance of ABCPolyBase.
Aliases
-
numpy.polynomial._polybase.ABCPolyBase._get_coefficients