質問編集履歴
1
ご回答を受けての加筆
test
CHANGED
File without changes
|
test
CHANGED
@@ -43,3 +43,45 @@
|
|
43
43
|
(3,)
|
44
44
|
|
45
45
|
```
|
46
|
+
|
47
|
+
↓ここから質問後の加筆となります。
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
```python
|
52
|
+
|
53
|
+
c=np.array([[1],[2],[3]])
|
54
|
+
|
55
|
+
print(c.shape)
|
56
|
+
|
57
|
+
(3, 1)
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
print(c)
|
62
|
+
|
63
|
+
[[1]
|
64
|
+
|
65
|
+
[2]
|
66
|
+
|
67
|
+
[3]]
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
np.dot(a,b)
|
72
|
+
|
73
|
+
array([14, 32])
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
np.dot(a,c)
|
78
|
+
|
79
|
+
array([[14],
|
80
|
+
|
81
|
+
[32]])
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
```
|
86
|
+
|
87
|
+
![イメージ説明](48182f71f322acedb26e75b84c03220c.png)
|