Skip to content

Commit 630149c

Browse files
authored
docs: fix equation rendering in linalg.cholesky (#762)
Closes: #761
1 parent c305b82 commit 630149c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: src/array_api_stubs/_2022_12/linalg.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def cholesky(x: array, /, *, upper: bool = False) -> array:
66
r"""
77
Returns the lower (upper) Cholesky decomposition of a complex Hermitian or real symmetric positive-definite matrix ``x``.
88
9-
If ``x`` is real-valued, let :math:`\mathbb{K}` be the set of real numbers $\mathbb{R}$, and, if ``x`` is complex-valued, let $\mathbb{K}$ be the set of complex numbers $\mathbb{C}$.
9+
If ``x`` is real-valued, let :math:`\mathbb{K}` be the set of real numbers :math:`\mathbb{R}`, and, if ``x`` is complex-valued, let :math:`\mathbb{K}` be the set of complex numbers :math:`\mathbb{C}`.
1010
1111
The lower **Cholesky decomposition** of a complex Hermitian or real symmetric positive-definite matrix :math:`x \in\ \mathbb{K}^{n \times n}` is defined as
1212

Diff for: src/array_api_stubs/_2023_12/linalg.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def cholesky(x: array, /, *, upper: bool = False) -> array:
3333
r"""
3434
Returns the lower (upper) Cholesky decomposition of a complex Hermitian or real symmetric positive-definite matrix ``x``.
3535
36-
If ``x`` is real-valued, let :math:`\mathbb{K}` be the set of real numbers $\mathbb{R}$, and, if ``x`` is complex-valued, let $\mathbb{K}$ be the set of complex numbers $\mathbb{C}$.
36+
If ``x`` is real-valued, let :math:`\mathbb{K}` be the set of real numbers :math:`\mathbb{R}`, and, if ``x`` is complex-valued, let :math:`\mathbb{K}` be the set of complex numbers :math:`\mathbb{C}`.
3737
3838
The lower **Cholesky decomposition** of a complex Hermitian or real symmetric positive-definite matrix :math:`x \in\ \mathbb{K}^{n \times n}` is defined as
3939

Diff for: src/array_api_stubs/_draft/linalg.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def cholesky(x: array, /, *, upper: bool = False) -> array:
3333
r"""
3434
Returns the lower (upper) Cholesky decomposition of a complex Hermitian or real symmetric positive-definite matrix ``x``.
3535
36-
If ``x`` is real-valued, let :math:`\mathbb{K}` be the set of real numbers $\mathbb{R}$, and, if ``x`` is complex-valued, let $\mathbb{K}$ be the set of complex numbers $\mathbb{C}$.
36+
If ``x`` is real-valued, let :math:`\mathbb{K}` be the set of real numbers :math:`\mathbb{R}`, and, if ``x`` is complex-valued, let :math:`\mathbb{K}` be the set of complex numbers :math:`\mathbb{C}`.
3737
3838
The lower **Cholesky decomposition** of a complex Hermitian or real symmetric positive-definite matrix :math:`x \in\ \mathbb{K}^{n \times n}` is defined as
3939

0 commit comments

Comments
 (0)