On this page
numpy.ma.MaskedArray.diagonal
MaskedArray.diagonal(offset=0, axis1=0, axis2=1)
-
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 NumPy 1.10 the read-only restriction will be removed.
Refer to
numpy.diagonal
for full documentation.See also
-
numpy.diagonal
- equivalent function
-
© 2008–2016 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.ma.MaskedArray.diagonal.html