bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / ma / core / diagonal
function
numpy.ma.core:diagonal
source: build-install/usr/lib/python3.14/site-packages/numpy/ma/core.py :7063
Summary
Return specified diagonals. In NumPy 1.9 the returned array is a read-only view instead of a copy as in previous NumPy versions. In a future version the read-only restriction will be removed.
Extended Summary
Refer to numpy.diagonal for full documentation.
See also
- numpy.diagonal
equivalent function
Aliases
-
numpy.ma.diagonal