Skip to content

Commit

Permalink
linalg : sgn関数の定義でコロンが抜けていた(#1233)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuya Asano <64895419+sukeya@users.noreply.github.com>
  • Loading branch information
sukeya committed May 25, 2024
1 parent f44efba commit 0cebcd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/linalg/setup_givens_rotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $$
- (1) `a`と`b`の型が`Real`の場合、`s`と`r`の型も`Real`。`r`は$(a, b)^T$のユークリッドノルム、つまり$\sqrt{|a|^2 + |b|^2}$である。
- (2) `a`と`b`の型が`complex<Real>`の場合、`s`と`r`の型も`complex<Real>`。以下で定義される$sgn$関数を用いると、`r`は$sgn(a) * \sqrt{|a|^2 + |b|^2}$である。
$$
sgn(x)=
sgn(x):=
\begin{cases}
\frac{x}{|x|} & \text{($x \neq 0$)} \\
1 & \text{($x = 0$)}
Expand Down

0 comments on commit 0cebcd7

Please sign in to comment.