bundles / numpy 2.4.3 / numpy / ma / core / diagonal
function
numpy.ma.core:diagonal
source: /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