提交 b47734fe authored 作者: Shawn Tan's avatar Shawn Tan

Removed references to numpy matrix in the documentation.

上级 fd2dfedf
......@@ -6365,10 +6365,8 @@ class ExtractDiag(Op):
Returns
-------
array_of_diagonals:
If x is 2-D and not a matrix, a 1-D array of the
same type as a containing the diagonal is returned.
If x is a matrix, a 1-D array containing the diagonal
is returned in order to maintain backward compatibility.
If x is 2-D, a 1-D array of the same type as a
containing the diagonal is returned.
If the dimension of x is greater than two, then an
array of diagonals is returned, "packed" from left-most
dimension to right-most (e.g., if x is 3-D, then the
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论