8000 Merge pull request #27017 from WarrenWeckesser/gh-26908-rel-note · numpy/numpy@97bbe73 · GitHub
[go: up one dir, main page]

Skip to content

Commit 97bbe73

Browse files
authored
Merge pull request #27017 from WarrenWeckesser/gh-26908-rel-note
DOC: Release note for feature added in gh-26908.
2 parents 1148073 + 7a044b2 commit 97bbe73

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
New ``PyUFuncObject`` field ``process_core_dims_func``
2+
------------------------------------------------------
3+
The field ``process_core_dims_func`` was added to the structure
4+
``PyUFuncObject``. For generalized ufuncs, this field can be set to a
5+
function of type ``PyUFunc_ProcessCoreDimsFunc`` that will be called when the
6+
ufunc is called. It allows the ufunc author to check that core dimensions
7+
satisfy additional constraints, and to set output core dimension sizes if they
8+
have not been provided.

0 commit comments

Comments
 (0)
0