11# apply_givens_rotation
2-
32* [ mathjax enable]
43* linalg[ meta header]
54* function template[ meta id-type]
65* std::linalg[ meta namespace]
76* cpp26[ meta cpp]
87
9-
108``` cpp
119namespace std ::linalg {
1210 template<inout-vector InOutVec1,
13- inout-vector InOutVec2,
14- class Real>
11+ inout-vector InOutVec2,
12+ class Real>
1513 void apply_givens_rotation(
1614 InOutVec1 x,
1715 InOutVec2 y,
1816 Real c,
1917 Real s); // (1)
2018
2119 template<class ExecutionPolicy,
22- inout-vector InOutVec1,
23- inout-vector InOutVec2,
24- class Real>
20+ inout-vector InOutVec1,
21+ inout-vector InOutVec2,
22+ class Real>
2523 void apply_givens_rotation(
2624 ExecutionPolicy&& exec,
2725 InOutVec1 x,
@@ -30,18 +28,18 @@ namespace std::linalg {
3028 Real s); // (2)
3129
3230 template<inout-vector InOutVec1,
33- inout-vector InOutVec2,
34- class Real>
31+ inout-vector InOutVec2,
32+ class Real>
3533 void apply_givens_rotation(
3634 InOutVec1 x,
3735 InOutVec2 y,
3836 Real c,
3937 complex<Real > s); // (3)
4038
4139 template<class ExecutionPolicy,
42- inout-vector InOutVec1,
43- inout-vector InOutVec2,
44- class Real>
40+ inout-vector InOutVec1,
41+ inout-vector InOutVec2,
42+ class Real>
4543 void apply_givens_rotation(
4644 ExecutionPolicy&& exec,
4745 InOutVec1 x,
@@ -51,7 +49,7 @@ namespace std::linalg {
5149}
5250```
5351* complex[link /reference/complex/complex.md]
54-
52+ * inout-vector[link inout-vector.md]
5553
5654## 概要
5755`c`と`s`で指定された回転行列を2つの**行**ベクトル`x`と`y`に対して、次のように掛けて代入する。
0 commit comments