This is a pre-release version (2.5.0.dev0+git20251130.2de293a). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / polynomial / _polybase / ABCPolyBase / _get_coefficients

function

numpy.polynomial._polybase:ABCPolyBase._get_coefficients

source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/_polybase.py :256

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 : anything

Object to be checked.

Returns

: coef

The coefficients of`other` if it is a compatible instance, of ABCPolyBase, otherwise other.

Raises

: TypeError

When other is an incompatible instance of ABCPolyBase.

Aliases

  • numpy.polynomial._polybase.ABCPolyBase._get_coefficients