Skip to content

Np ufunc#1062

Open
tias wants to merge 5 commits into
masterfrom
np_ufunc
Open

Np ufunc#1062
tias wants to merge 5 commits into
masterfrom
np_ufunc

Conversation

@tias

@tias tias commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator

follow numpy's current recommendations for subclassing ndarray (our NDVarArray which should have been called NDExprArray):

  • introduce array_finalyze instead of init
  • introduce array_ufunc (and _elementwise) instead of _vectorized and the overloaded ops

@tias

tias commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator Author

as an alternative to #625

it was actually a test of the new Cursor Composer Grok 4.5, and the process as well as the result is surprisingly simple enough that I wanted to share it.

I am NOT saying this should be in 1.0.0, because it is rather very late and drastic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant