回答編集履歴
1
追記
test
CHANGED
@@ -19,3 +19,17 @@
|
|
19
19
|
print(A1) # [0.48266225 0.77169808 0.77959605]
|
20
20
|
|
21
21
|
```
|
22
|
+
|
23
|
+
あるいは
|
24
|
+
|
25
|
+
```Python
|
26
|
+
|
27
|
+
N = 3
|
28
|
+
|
29
|
+
a = np.random.rand(3*N).reshape(N,-1)
|
30
|
+
|
31
|
+
A0 = np.mean(a,axis=0)
|
32
|
+
|
33
|
+
print(A0) # [0.45757853 0.77041474 0.75505676]
|
34
|
+
|
35
|
+
```
|