未验证 提交 902de74c 编写于 作者: W Wang Xin 提交者: GitHub

fix error in code-block directive, test=document_fix (#55104)

上级 a532710f
......@@ -2264,6 +2264,7 @@ def lu(x, pivot=True, get_infos=False, name=None):
P mat can be get by pivots:
.. code-block:: text
ones = eye(rows) #eye matrix of rank rows
for i in range(cols):
swap(ones[i], ones[pivots[i]])
......@@ -2363,6 +2364,7 @@ def lu_unpack(x, y, unpack_ludata=True, unpack_pivots=True, name=None):
P mat can be get by pivots:
.. code-block:: text
ones = eye(rows) #eye matrix of rank rows
for i in range(cols):
swap(ones[i], ones[pivots[i]])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册