回答編集履歴
1
追記
test
CHANGED
@@ -33,3 +33,19 @@
|
|
33
33
|
print(C)
|
34
34
|
|
35
35
|
```
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
これでもいけそうです。
|
40
|
+
|
41
|
+
```Python
|
42
|
+
|
43
|
+
B2 = np.hstack([B] * B.shape[0]).reshape(-1, B.shape[0])
|
44
|
+
|
45
|
+
C = A * B2
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
print(C)
|
50
|
+
|
51
|
+
```
|