Skip to content

Commit

Permalink
更正svd、svdvals文档中的公式 (#7039)
Browse files Browse the repository at this point in the history
* Update svd_cn.rst

* Update svdvals_cn.rst
  • Loading branch information
aquagull authored Jan 20, 2025
1 parent 75b432a commit 5c9192c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api/paddle/linalg/svd_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ svd
:math:`X` 为一个矩阵,则计算的结果为 2 个矩阵 :math:`U`, :math:`VH` 和一个向量 :math:`S`。则分解后满足公式:

.. math::
X = U * diag(S) * VH
X = U * diag(S) * V ^ {H}
值得注意的是,:math:`S` 是向量,从大到小表示每个奇异值。而 :math:`VH` 则是 V 的共轭转置。

Expand Down
2 changes: 1 addition & 1 deletion docs/api/paddle/linalg/svdvals_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ svdvals
:math:`X` 为输入的矩阵或一批矩阵,则输出的奇异值 :math:`S` 是奇异值分解后矩阵的的对角元素:

.. math::
X = U * diag(S) * VH
X = U * diag(S) * V ^ {H}
值得注意的是,:math:`S` 是一个向量,其元素按从大到小的顺序排列,表示每个奇异值。

Expand Down

0 comments on commit 5c9192c

Please sign in to comment.