2
2
<feed xmlns =" http://www.w3.org/2005/Atom" >
3
3
<title >cpprefjp - C++日本語リファレンス</title >
4
4
<link href =" https://cpprefjp.github.io" />
5
- <updated >2024-07-21T14:37:38.088791 </updated >
6
- <id >410b8892-ef98-4fa9-ac9e-d580f98d1c7e </id >
5
+ <updated >2024-07-22T06:34:23.618163 </updated >
6
+ <id >eb684d3e-e28b-450c-b584-b5a8f37250ae </id >
7
7
8
8
9
+ <entry >
10
+ <title >println -- fix typo (print -> println)</title >
11
+ <link href =" https://cpprefjp.github.io/reference/print/println.html" />
12
+ <id >8cc238ce20e5136912f1e70f7e426d6cc8b669de:reference/print/println.md</id >
13
+ <updated >2024-07-22T15:31:30+09:00</updated >
14
+
15
+ <summary type =" html" >< pre>< code> diff --git a/reference/print/println.md b/reference/print/println.md
16
+ index 542fd0bf0..8fd358046 100644
17
+ --- a/reference/print/println.md
18
+ +++ b/reference/print/println.md
19
+ @@ -31,7 +31,7 @@ namespace std {
20
+
21
+ この関数は、末尾に改行コードが付くことに注意。改行コードが不要な場合は、[`std::print()`](print.md)関数を使用すること。
22
+
23
+ -[`std::ostream`](/reference/ostream/basic_ostream.md)から派生したクラスオブジェクトに対して出力したい場合は、[`& lt;ostream& gt;`](/reference/ostream.md)ヘッダの[`std::print()`](/reference/ostream/println.md)関数を使用すること。
24
+ +[`std::ostream`](/reference/ostream/basic_ostream.md)から派生したクラスオブジェクトに対して出力したい場合は、[`& lt;ostream& gt;`](/reference/ostream.md)ヘッダの[`std::println()`](/reference/ostream/println.md)関数を使用すること。
25
+
26
+
27
+ ## 効果
28
+ < /code>< /pre> </summary >
29
+
30
+ <author >
31
+ <name >I</name >
32
+
33
+ </author >
34
+ </entry >
35
+
9
36
<entry >
10
37
<title >add -- linalg : addに例を追加 (#1233)</title >
11
38
<link href =" https://cpprefjp.github.io/reference/linalg/add.html" />
@@ -211,68 +238,4 @@ index 43681bb39..5ab589c85 100644
211
238
</author >
212
239
</entry >
213
240
214
- <entry >
215
- <title >dot -- linalg : dotに例を追加 (#1233)</title >
216
- <link href =" https://cpprefjp.github.io/reference/linalg/dot.html" />
217
- <id >5855664e5515ecbed9543458ba91bac38bbf8525:reference/linalg/dot.md</id >
218
- <updated >2024-07-19T09:34:28+09:00</updated >
219
-
220
- <summary type =" html" >< pre>< code> diff --git a/reference/linalg/dot.md b/reference/linalg/dot.md
221
- index 95bf0a5c3..32add9a65 100644
222
- --- a/reference/linalg/dot.md
223
- +++ b/reference/linalg/dot.md
224
- @@ -81,9 +81,45 @@ $$
225
-
226
-
227
- ## 例
228
- +**[注意] 処理系にあるコンパイラで確認していないため、間違っているかもしれません。**
229
- +
230
- +```cpp example
231
- +#include & lt;cmath& gt;
232
- +#include & lt;execution& gt;
233
- +#include & lt;iostream& gt;
234
- +#include & lt;linalg& gt;
235
- +#include & lt;mdspan& gt;
236
- +#include & lt;numbers& gt;
237
- +#include & lt;vector& gt;
238
- +
239
- +int main()
240
- +{
241
- + constexpr size_t N = 3;
242
- +
243
- + std::vector& lt;double& gt; a_vec({1, 2, 3});
244
- + std::mdspan a(a_vec.data(), N);
245
- +
246
- + std::vector& lt;double& gt; b_vec({4, 5, 6});
247
- + std::mdspan b(b_vec.data(), N);
248
- +
249
- + std::cout & lt;& lt; std::linalg::dot(a, b, -18) & lt;& lt; & #39;\n& #39; // (1)
250
- + & lt;& lt; std::linalg::dot(std::execution::par, a, b, -18) & lt;& lt; & #39;\n& #39; // (2)
251
- + & lt;& lt; std::linalg::dot(a, b) & lt;& lt; & #39;\n& #39; // (3)
252
- + & lt;& lt; std::linalg::dot(std::execution::par, a, b) & lt;& lt; & #39;\n& #39;; // (4)
253
- +
254
- + return 0;
255
- +}
256
- +```
257
- +* std::linalg::dot[color ff0000]
258
-
259
-
260
- ### 出力
261
- +```
262
- +14
263
- +14
264
- +32
265
- +32
266
- +```
267
-
268
-
269
- ## バージョン
270
- < /code>< /pre> </summary >
271
-
272
- <author >
273
- <name >Yuya Asano</name >
274
-
275
- </author >
276
- </entry >
277
-
278
241
</feed >
0 commit comments