Skip to content

Commit

Permalink
linalg : swap_elementsの宣言とcswapのリンクを修正。
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 Jun 1, 2024
1 parent 6d90730 commit 90fce64
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions reference/linalg/swap_elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
```cpp
namespace std::linalg {
template<inout-object InOutObj1,
inout-object InOutObj2>
inout-object InOutObj2>
void swap_elements(InOutObj1 x,
InOutObj2 y); // (1)
InOutObj2 y); // (1)

template<class ExecutionPolicy,
inout-object InOutObj1,
inout-object InOutObj2>
inout-object InOutObj1,
inout-object InOutObj2>
void swap_elements(ExecutionPolicy&& exec,
InOutObj1 x,
InOutObj2 y); // (2)
InOutObj1 x,
InOutObj2 y); // (2)
}
```
Expand Down Expand Up @@ -77,5 +77,5 @@ namespace std::linalg {
## 参照
- [P0788R3 Standard Library Specification in a Concepts and Contracts World](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0788r3.pdf)
- [`LAPACK: cswap`](https://netlib.org/lapack/explore-html/d1/d45/group__rot_ga25544801d45dcabdec7b24d863ebea9c.html#ga25544801d45dcabdec7b24d863ebea9c)
- [`LAPACK: cswap`](https://netlib.org/lapack/explore-html/d7/d51/group__swap_ga1e8d1bbcbd0307e7a3839d0bd10e4118.html#ga1e8d1bbcbd0307e7a3839d0bd10e4118)

1 comment on commit 90fce64

@sukeya
Copy link
Contributor Author

@sukeya sukeya commented on 90fce64 Jun 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.