Skip to content

TYP: poly shape-typing and improved dtypes - #32678

Open
jorenham wants to merge 1 commit into
numpy:mainfrom
jorenham:typing/poly/shape-typing
Open

jorenham wants to merge 1 commit into
numpy:mainfrom
jorenham:typing/poly/shape-typing

Conversation

@jorenham

@jorenham jorenham commented Sep 17, 2026

Copy link
Copy Markdown
Member

The output array type of np.poly is now always 1d and its dtype depends on the input.

Note that for complex input the return type can be either real or complex, e.g. np.poly([p, np.conj(p)]) will be real.


Pair programmed with Ai

@jorenham jorenham added this to the 2.6.0 Release milestone Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant