提交 89533e9f authored 作者: amrithasuresh's avatar amrithasuresh

Fixed np to numpy in docstring

上级 523cdfbe
......@@ -239,8 +239,8 @@ def test_det_shape():
class test_diag(unittest.TestCase):
"""
Test that linalg.diag has the same behavior as np.diag.
np.diag has two behaviors:
Test that linalg.diag has the same behavior as numpy.diag.
numpy.diag has two behaviors:
(1) when given a vector, it returns a matrix with that vector as the
diagonal.
(2) when given a matrix, returns a vector which is the diagonal of the
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论