質問編集履歴

4

値の変更

2021/10/01 09:25

投稿

siti
siti

スコア7

test CHANGED
File without changes
test CHANGED
@@ -158,54 +158,54 @@
158
158
 
159
159
  [I1] = [[1,2],[3,4],[5,6]]
160
160
 
161
- [J1] = [[a,b,c,d],[e,f,g,h],[i,j,k,l]]
161
+ [J1] = [[11,12,13,14],[15,16,17,18],[19,20,21,22]]
162
-
162
+
163
- [I2] = [[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,16],[17,18,19,20]]
163
+ [I2] = [[31,32,33,34],[35,36,37,38],[39,40,41,42],[43,44,45,46],[47,48,49,50]]
164
-
164
+
165
- [J2] = [[a,b,c,d,e,f],[g,h,i,j,k,l],[m,n,o,p,q,r],[s,t,u,v.w,x],[y,z,α,β,γ,σ]]
165
+ [J2] = [[51,52,53,53,55],[56,57,58,59,60],[61,62,63,64,65],[66,67,68,69,70],[71,72,73,74,75]]
166
166
 
167
167
 
168
168
 
169
169
  [M]=[
170
170
 
171
- [1,2,  a, b, c, d, 0,0,0,0,0,0, 0, 0, 0, 0, 0,0,0,0,0,0],
171
+ [1,2,  11,12,13,14, 0,0,0,0,0,0, 0, 0, 0, 0, 0,0,0,0,0,0],
172
-
172
+
173
- [3,4,  e, f, g, h, 0,0,0,0,0,0, 0, 0, 0, 0, 0,0,0,0,0,0],
173
+ [3,4,  15,16,17,18, 0,0,0,0,0,0, 0, 0, 0, 0, 0,0,0,0,0,0],
174
-
174
+
175
- [5,6,  i, j, k, l, 0,0,0,0,0,0, 0, 0, 0, 0, 0,0,0,0,0,0],
175
+ [5,6,  19,20,21,22, 0,0,0,0,0,0, 0, 0, 0, 0, 0,0,0,0,0,0],
176
-
177
-
178
-
176
+
177
+
178
+
179
- [0,0,  1, 2, 3, 4, a,b,c,d,e,f, 0, 0, 0, 0, 0,0,0,0,0,0],
179
+ [0,0, 31,32,33,34, 51,52,53,53,55, 0, 0, 0, 0, 0,0,0,0,0,0],
180
-
180
+
181
- [0,0,  5, 6, 7, 8, g,h,i,j,k,l, 0, 0, 0, 0, 0,0,0,0,0,0],
181
+ [0,0, 35,36,37,38, 56,57,58,59,60, 0, 0, 0, 0, 0,0,0,0,0,0],
182
-
182
+
183
- [0,0,  9,10,11,12, m,n,o,p,q,r, 0, 0, 0, 0, 0,0,0,0,0,0],
183
+ [0,0, 39,40,41,42, 61,62,63,64,65, 0, 0, 0, 0, 0,0,0,0,0,0],
184
-
184
+
185
- [0,0, 13,14,15,16, s,t,u,v.w,x, 0, 0, 0, 0, 0,0,0,0,0,0],
185
+ [0,0, 43,44,45,46, 66,67,68,69,70, 0, 0, 0, 0, 0,0,0,0,0,0],
186
-
186
+
187
- [0,0, 17,18,19,20, y,z,α,β,γ,σ, 0, 0, 0, 0, 0,0,0,0,0,0],
187
+ [0,0, 47,48,49,50, 71,72,73,74,75, 0, 0, 0, 0, 0,0,0,0,0,0],
188
-
189
-
190
-
188
+
189
+
190
+
191
- [0,0,  0, 0, 0, 0, a,b,c,d,e,f,  1, 2, 3, 4, 0,0,0,0,0,0],
191
+ [0,0,  0, 0, 0, 0, 51,52,53,53,55, 31,32,33,34, 0,0,0,0,0,0],
192
-
192
+
193
- [0,0,  0, 0, 0, 0, g,h,i,j,k,l,  5, 6, 7, 8, 0,0,0,0,0,0],
193
+ [0,0,  0, 0, 0, 0, 56,57,58,59,60, 35,36,37,38, 0,0,0,0,0,0],
194
-
194
+
195
- [0,0,  0, 0, 0, 0, m,n,o,p,q,r,  9,10,11,12, 0,0,0,0,0,0],
195
+ [0,0,  0, 0, 0, 0, 61,62,63,64,65, 39,40,41,42, 0,0,0,0,0,0],
196
-
196
+
197
- [0,0,  0, 0, 0, 0, s,t,u,v.w,x, 13,14,15,16, 0,0,0,0,0,0],
197
+ [0,0,  0, 0, 0, 0, 66,67,68,69,70, 43,44,45,46, 0,0,0,0,0,0],
198
-
198
+
199
- [0,0,  0, 0, 0, 0, y,z,α,β,γ,σ, 17,18,19,20, 0,0,0,0,0,0],
199
+ [0,0,  0, 0, 0, 0, 71,72,73,74,75, 47,48,49,50, 0,0,0,0,0,0],
200
-
201
-
202
-
200
+
201
+
202
+
203
- [0,0,  0, 0, 0, 0, 0,0,0,0,0,0,  1, 2, 3, 4, a,b,c,d,e,f],
203
+ [0,0,  0, 0, 0, 0, 0,0,0,0,0,0, 31,32,33,34, 51,52,53,53,55],
204
-
204
+
205
- [0,0,  0, 0, 0, 0, 0,0,0,0,0,0,  5, 6, 7, 8, g,h,i,j,k,l],
205
+ [0,0,  0, 0, 0, 0, 0,0,0,0,0,0, 35,36,37,38, 56,57,58,59,60],
206
-
206
+
207
- [0,0,  0, 0, 0, 0, 0,0,0,0,0,0,  9,10,11,12, m,n,o,p,q,r],
207
+ [0,0,  0, 0, 0, 0, 0,0,0,0,0,0, 39,40,41,42, 61,62,63,64,65],
208
-
208
+
209
- [0,0,  0, 0, 0, 0, 0,0,0,0,0,0, 13,14,15,16, s,t,u,v.w,x],
209
+ [0,0,  0, 0, 0, 0, 0,0,0,0,0,0, 43,44,45,46, 66,67,68,69,70],
210
-
210
+
211
- [0,0,  0, 0, 0, 0, 0,0,0,0,0,0, 17,18,19,20, y,z,α,β,γ,σ] ]
211
+ [0,0,  0, 0, 0, 0, 0,0,0,0,0,0, 47,48,49,50, 71,72,73,74,75] ]

3

より見やすくなるための変更

2021/10/01 09:25

投稿

siti
siti

スコア7

test CHANGED
File without changes
test CHANGED
@@ -151,3 +151,61 @@
151
151
  [0,0, 0,0,0,0, 0,0,0,0,0,0, 0,0,1,0, 0,0,0,1,0,0],
152
152
 
153
153
  [0,0, 0,0,0,0, 0,0,0,0,0,0, 0,0,0,0, 0,0,0,0,0,1] ]
154
+
155
+
156
+
157
+ 視覚的にわかりやすくするために、値を変えます。
158
+
159
+ [I1] = [[1,2],[3,4],[5,6]]
160
+
161
+ [J1] = [[a,b,c,d],[e,f,g,h],[i,j,k,l]]
162
+
163
+ [I2] = [[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,16],[17,18,19,20]]
164
+
165
+ [J2] = [[a,b,c,d,e,f],[g,h,i,j,k,l],[m,n,o,p,q,r],[s,t,u,v.w,x],[y,z,α,β,γ,σ]]
166
+
167
+
168
+
169
+ [M]=[
170
+
171
+ [1,2,  a, b, c, d, 0,0,0,0,0,0, 0, 0, 0, 0, 0,0,0,0,0,0],
172
+
173
+ [3,4,  e, f, g, h, 0,0,0,0,0,0, 0, 0, 0, 0, 0,0,0,0,0,0],
174
+
175
+ [5,6,  i, j, k, l, 0,0,0,0,0,0, 0, 0, 0, 0, 0,0,0,0,0,0],
176
+
177
+
178
+
179
+ [0,0,  1, 2, 3, 4, a,b,c,d,e,f, 0, 0, 0, 0, 0,0,0,0,0,0],
180
+
181
+ [0,0,  5, 6, 7, 8, g,h,i,j,k,l, 0, 0, 0, 0, 0,0,0,0,0,0],
182
+
183
+ [0,0,  9,10,11,12, m,n,o,p,q,r, 0, 0, 0, 0, 0,0,0,0,0,0],
184
+
185
+ [0,0, 13,14,15,16, s,t,u,v.w,x, 0, 0, 0, 0, 0,0,0,0,0,0],
186
+
187
+ [0,0, 17,18,19,20, y,z,α,β,γ,σ, 0, 0, 0, 0, 0,0,0,0,0,0],
188
+
189
+
190
+
191
+ [0,0,  0, 0, 0, 0, a,b,c,d,e,f,  1, 2, 3, 4, 0,0,0,0,0,0],
192
+
193
+ [0,0,  0, 0, 0, 0, g,h,i,j,k,l,  5, 6, 7, 8, 0,0,0,0,0,0],
194
+
195
+ [0,0,  0, 0, 0, 0, m,n,o,p,q,r,  9,10,11,12, 0,0,0,0,0,0],
196
+
197
+ [0,0,  0, 0, 0, 0, s,t,u,v.w,x, 13,14,15,16, 0,0,0,0,0,0],
198
+
199
+ [0,0,  0, 0, 0, 0, y,z,α,β,γ,σ, 17,18,19,20, 0,0,0,0,0,0],
200
+
201
+
202
+
203
+ [0,0,  0, 0, 0, 0, 0,0,0,0,0,0,  1, 2, 3, 4, a,b,c,d,e,f],
204
+
205
+ [0,0,  0, 0, 0, 0, 0,0,0,0,0,0,  5, 6, 7, 8, g,h,i,j,k,l],
206
+
207
+ [0,0,  0, 0, 0, 0, 0,0,0,0,0,0,  9,10,11,12, m,n,o,p,q,r],
208
+
209
+ [0,0,  0, 0, 0, 0, 0,0,0,0,0,0, 13,14,15,16, s,t,u,v.w,x],
210
+
211
+ [0,0,  0, 0, 0, 0, 0,0,0,0,0,0, 17,18,19,20, y,z,α,β,γ,σ] ]

2

内容の訂正

2021/10/01 09:18

投稿

siti
siti

スコア7

test CHANGED
File without changes
test CHANGED
@@ -12,13 +12,13 @@
12
12
 
13
13
  [ [ [I1] , [J1] , 0...]
14
14
 
15
- [ 0 , [I2] , -[J2] , 0...]
15
+ [ 0 , [I2] , [J2] , 0...]
16
16
 
17
- [ 0 , 0 , [J2] , -[I2] , 0...]
17
+ [ 0 , 0 , [J2] , [I2] , 0...]
18
18
 
19
19
   ~~~~~~~~~~~~~~~~~~~
20
20
 
21
- [ 0 , 0 , 0 , 0... , [J2] , -[I2] ] ]
21
+ [ 0 , 0 , 0 , 0... , [J2] , [I2] ] ]
22
22
 
23
23
 
24
24
 
@@ -35,3 +35,119 @@
35
35
 
36
36
 
37
37
  何か良い方法があれば教えてください。
38
+
39
+
40
+
41
+ 具体例を示します。
42
+
43
+ [I1](3×2) = [
44
+
45
+ [1,0],
46
+
47
+ [1,0],
48
+
49
+ [0,0] ]
50
+
51
+ [J1](3×4) = [
52
+
53
+ [1,0,0,0],
54
+
55
+ [0,1,0,0],
56
+
57
+ [0,0,0,1] ]
58
+
59
+ [I2](5×4) = [
60
+
61
+ [1,0,0,0],
62
+
63
+ [0,1,0,0],
64
+
65
+ [0,1,0,0],
66
+
67
+ [0,0,1,0],
68
+
69
+ [0,0,0,1] ]
70
+
71
+ [J2](5×6) = [
72
+
73
+ [1,0,0,0,0,0],
74
+
75
+ [0,1,0,0,0,0],
76
+
77
+ [0,0,1,0,0,0],
78
+
79
+ [0,0,0,1,0,0],
80
+
81
+ [0,0,0,0,0,1] ]
82
+
83
+
84
+
85
+ 目標の行列を[M]として、n=1の時
86
+
87
+ [M]=[
88
+
89
+ [1,0, 1,0,0,0, 0,0,0,0,0,0],
90
+
91
+ [1,0, 0,1,0,0, 0,0,0,0,0,0],
92
+
93
+ [0,0, 0,0,0,1, 0,0,0,0,0,0],
94
+
95
+
96
+
97
+ [0,0, 1,0,0,0, 1,0,0,0,0,0],
98
+
99
+ [0,0, 0,1,0,0, 0,1,0,0,0,0],
100
+
101
+ [0,0, 0,1,0,0, 0,0,1,0,0,0],
102
+
103
+ [0,0, 0,0,1,0, 0,0,0,1,0,0],
104
+
105
+ [0,0, 0,0,0,1, 0,0,0,0,0,1] ]
106
+
107
+
108
+
109
+ n=2のとき
110
+
111
+ [M]=[
112
+
113
+ [1,0, 1,0,0,0, 0,0,0,0,0,0, 0,0,0,0, 0,0,0,0,0,0],
114
+
115
+ [1,0, 0,1,0,0, 0,0,0,0,0,0, 0,0,0,0, 0,0,0,0,0,0],
116
+
117
+ [0,0, 0,0,0,1, 0,0,0,0,0,0, 0,0,0,0, 0,0,0,0,0,0],
118
+
119
+
120
+
121
+ [0,0, 1,0,0,0, 1,0,0,0,0,0, 0,0,0,0, 0,0,0,0,0,0],
122
+
123
+ [0,0, 0,1,0,0, 0,1,0,0,0,0, 0,0,0,0, 0,0,0,0,0,0],
124
+
125
+ [0,0, 0,1,0,0, 0,0,1,0,0,0, 0,0,0,0, 0,0,0,0,0,0],
126
+
127
+ [0,0, 0,0,1,0, 0,0,0,1,0,0, 0,0,0,0, 0,0,0,0,0,0],
128
+
129
+ [0,0, 0,0,0,1, 0,0,0,0,0,1, 0,0,0,0, 0,0,0,0,0,0],
130
+
131
+
132
+
133
+ [0,0, 0,0,0,0, 1,0,0,0,0,0, 1,0,0,0, 0,0,0,0,0,0],
134
+
135
+ [0,0, 0,0,0,0, 0,1,0,0,0,0, 0,1,0,0, 0,0,0,0,0,0],
136
+
137
+ [0,0, 0,0,0,0, 0,0,1,0,0,0, 0,1,0,0, 0,0,0,0,0,0],
138
+
139
+ [0,0, 0,0,0,0, 0,0,0,1,0,0, 0,0,1,0, 0,0,0,0,0,0],
140
+
141
+ [0,0, 0,0,0,0, 0,0,0,0,0,1, 0,0,0,1, 0,0,0,0,0,0],
142
+
143
+
144
+
145
+ [0,0, 0,0,0,0, 0,0,0,0,0,0, 1,0,0,0, 1,0,0,0,0,0],
146
+
147
+ [0,0, 0,0,0,0, 0,0,0,0,0,0, 0,1,0,0, 0,1,0,0,0,0],
148
+
149
+ [0,0, 0,0,0,0, 0,0,0,0,0,0, 0,1,0,0, 0,0,1,0,0,0],
150
+
151
+ [0,0, 0,0,0,0, 0,0,0,0,0,0, 0,0,1,0, 0,0,0,1,0,0],
152
+
153
+ [0,0, 0,0,0,0, 0,0,0,0,0,0, 0,0,0,0, 0,0,0,0,0,1] ]

1

添え字と標識の修正

2021/10/01 09:02

投稿

siti
siti

スコア7

test CHANGED
File without changes
test CHANGED
@@ -12,13 +12,13 @@
12
12
 
13
13
  [ [ [I1] , [J1] , 0...]
14
14
 
15
- [ 0 , [I2] , [J2] , 0...]
15
+ [ 0 , [I2] , -[J2] , 0...]
16
16
 
17
- [ 0 , 0 , [I1] , [J1] , 0...]
17
+ [ 0 , 0 , [J2] , -[I2] , 0...]
18
18
 
19
19
   ~~~~~~~~~~~~~~~~~~~
20
20
 
21
- [ 0 , 0 , 0 , 0... , [I2] , [J2] ] ]
21
+ [ 0 , 0 , 0 , 0... , [J2] , -[I2] ] ]
22
22
 
23
23
 
24
24