numpy 1.22.4 Pypi GitHub Homepage
Other Docs
_block(arrays, max_depth, result_ndim, depth=0)

Internal implementation of block based on repeated concatenation. :None:None:`arrays` is the argument passed to block. :None:None:`max_depth` is the depth of nested lists within :None:None:`arrays` and :None:None:`result_ndim` is the greatest of the dimensions of the arrays in :None:None:`arrays` and the depth of the lists in :None:None:`arrays` (see block docstring for details).

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /numpy/core/shape_base.py#650
type: <class 'function'>
Commit: