bundles / astropy 7.0.1 / astropy / utils / shapes / NDArrayShapeMethods / diagonal
function
astropy.utils.shapes:NDArrayShapeMethods.diagonal
source: /astropy/utils/shapes.py :139
Signature
def diagonal ( self , * args , ** kwargs ) Summary
Return an instance with the specified diagonals.
Extended Summary
Parameters are as for ~numpy.ndarray.diagonal. All internal data are views of the data of the original.
Aliases
-
astropy.utils.NDArrayShapeMethods.diagonal