117 lines
4.3 KiB
Plaintext
117 lines
4.3 KiB
Plaintext
|
Initial Matrix
|
||
|
0 0.01 0.02 0.03 0.04
|
||
|
1 1.01 1.02 1.03 1.04
|
||
|
2 2.01 2.02 2.03 2.04
|
||
|
3 3.01 3.02 3.03 3.04
|
||
|
4 4.01 4.02 4.03 4.04
|
||
|
5 5.01 5.02 5.03 5.04
|
||
|
6 6.01 6.02 6.03 6.04
|
||
|
7 7.01 7.02 7.03 7.04
|
||
|
8 8.01 8.02 8.03 8.04
|
||
|
9 9.01 9.02 9.03 9.04
|
||
|
|
||
|
Resized Matrix
|
||
|
0 0.01 0.02 0.03 0.04 0 0 0 0 0
|
||
|
1 1.01 1.02 1.03 1.04 0 0 0 0 0
|
||
|
2 2.01 2.02 2.03 2.04 0 0 0 0 0
|
||
|
3 3.01 3.02 3.03 3.04 0 0 0 0 0
|
||
|
4 4.01 4.02 4.03 4.04 0 0 0 0 0
|
||
|
5 5.01 5.02 5.03 5.04 0 0 0 0 0
|
||
|
6 6.01 6.02 6.03 6.04 0 0 0 0 0
|
||
|
7 7.01 7.02 7.03 7.04 0 0 0 0 0
|
||
|
8 8.01 8.02 8.03 8.04 0 0 0 0 0
|
||
|
9 9.01 9.02 9.03 9.04 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0
|
||
|
|
||
|
Full Matrix
|
||
|
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
|
||
|
1 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09
|
||
|
2 2.01 2.02 2.03 2.04 2.05 2.06 2.07 2.08 2.09
|
||
|
3 3.01 3.02 3.03 3.04 3.05 3.06 3.07 3.08 3.09
|
||
|
4 4.01 4.02 4.03 4.04 4.05 4.06 4.07 4.08 4.09
|
||
|
5 5.01 5.02 5.03 5.04 5.05 5.06 5.07 5.08 5.09
|
||
|
6 6.01 6.02 6.03 6.04 6.05 6.06 6.07 6.08 6.09
|
||
|
7 7.01 7.02 7.03 7.04 7.05 7.06 7.07 7.08 7.09
|
||
|
8 8.01 8.02 8.03 8.04 8.05 8.06 8.07 8.08 8.09
|
||
|
9 9.01 9.02 9.03 9.04 9.05 9.06 9.07 9.08 9.09
|
||
|
10 10.01 10.02 10.03 10.04 10.05 10.06 10.07 10.08 10.09
|
||
|
11 11.01 11.02 11.03 11.04 11.05 11.06 11.07 11.08 11.09
|
||
|
12 12.01 12.02 12.03 12.04 12.05 12.06 12.07 12.08 12.09
|
||
|
13 13.01 13.02 13.03 13.04 13.05 13.06 13.07 13.08 13.09
|
||
|
14 14.01 14.02 14.03 14.04 14.05 14.06 14.07 14.08 14.09
|
||
|
15 15.01 15.02 15.03 15.04 15.05 15.06 15.07 15.08 15.09
|
||
|
16 16.01 16.02 16.03 16.04 16.05 16.06 16.07 16.08 16.09
|
||
|
17 17.01 17.02 17.03 17.04 17.05 17.06 17.07 17.08 17.09
|
||
|
18 18.01 18.02 18.03 18.04 18.05 18.06 18.07 18.08 18.09
|
||
|
19 19.01 19.02 19.03 19.04 19.05 19.06 19.07 19.08 19.09
|
||
|
|
||
|
Row 5
|
||
|
5 5.01 5.02 5.03 5.04 5.05 5.06 5.07 5.08 5.09
|
||
|
|
||
|
Updated Matrix (column 5 replaced with 100s from buffer)
|
||
|
0 0.01 0.02 0.03 0.04 100 0.06 0.07 0.08 0.09
|
||
|
1 1.01 1.02 1.03 1.04 101 1.06 1.07 1.08 1.09
|
||
|
2 2.01 2.02 2.03 2.04 102 2.06 2.07 2.08 2.09
|
||
|
3 3.01 3.02 3.03 3.04 103 3.06 3.07 3.08 3.09
|
||
|
4 4.01 4.02 4.03 4.04 104 4.06 4.07 4.08 4.09
|
||
|
5 5.01 5.02 5.03 5.04 105 5.06 5.07 5.08 5.09
|
||
|
6 6.01 6.02 6.03 6.04 106 6.06 6.07 6.08 6.09
|
||
|
7 7.01 7.02 7.03 7.04 107 7.06 7.07 7.08 7.09
|
||
|
8 8.01 8.02 8.03 8.04 108 8.06 8.07 8.08 8.09
|
||
|
9 9.01 9.02 9.03 9.04 109 9.06 9.07 9.08 9.09
|
||
|
10 10.01 10.02 10.03 10.04 110 10.06 10.07 10.08 10.09
|
||
|
11 11.01 11.02 11.03 11.04 111 11.06 11.07 11.08 11.09
|
||
|
12 12.01 12.02 12.03 12.04 112 12.06 12.07 12.08 12.09
|
||
|
13 13.01 13.02 13.03 13.04 113 13.06 13.07 13.08 13.09
|
||
|
14 14.01 14.02 14.03 14.04 114 14.06 14.07 14.08 14.09
|
||
|
15 15.01 15.02 15.03 15.04 115 15.06 15.07 15.08 15.09
|
||
|
16 16.01 16.02 16.03 16.04 116 16.06 16.07 16.08 16.09
|
||
|
17 17.01 17.02 17.03 17.04 117 17.06 17.07 17.08 17.09
|
||
|
18 18.01 18.02 18.03 18.04 118 18.06 18.07 18.08 18.09
|
||
|
19 19.01 19.02 19.03 19.04 119 19.06 19.07 19.08 19.09
|
||
|
|
||
|
Row 10 extracted as sub vector
|
||
|
10 10.01 10.02 10.03 10.04 110 10.06 10.07 10.08 10.09
|
||
|
|
||
|
Column 3 extracted as sub vector
|
||
|
0.03 1.03 2.03 3.03 4.03 5.03 6.03 7.03 8.03 9.03 10.03 11.03 12.03 13.03 14.03 15.03 16.03 17.03 18.03 19.03
|
||
|
|
||
|
Rectangle extracted as sub vector
|
||
|
8.02 8.03 8.04
|
||
|
9.02 9.03 9.04
|
||
|
10.02 10.03 10.04
|
||
|
11.02 11.03 11.04
|
||
|
12.02 12.03 12.04
|
||
|
|
||
|
Updated Matrix (row 10 becomes squares, column 3 becomes cubes, center becomes negative)
|
||
|
0 0.01 0.02 0 0.04 100 0.06 0.07 0.08 0.09
|
||
|
1 1.01 1.02 1 1.04 101 1.06 1.07 1.08 1.09
|
||
|
2 2.01 2.02 8 2.04 102 2.06 2.07 2.08 2.09
|
||
|
3 3.01 3.02 27 3.04 103 3.06 3.07 3.08 3.09
|
||
|
4 4.01 4.02 64 4.04 104 4.06 4.07 4.08 4.09
|
||
|
5 5.01 5.02 125 5.04 105 5.06 5.07 5.08 5.09
|
||
|
6 6.01 6.02 216 6.04 106 6.06 6.07 6.08 6.09
|
||
|
7 7.01 7.02 343 7.04 107 7.06 7.07 7.08 7.09
|
||
|
8 8.01 -1 -3 -1 108 8.06 8.07 8.08 8.09
|
||
|
9 9.01 -1 -3 -1 109 9.06 9.07 9.08 9.09
|
||
|
0 1 -2 -2 -2 25 36 49 64 81
|
||
|
11 11.01 -1 -3 -1 111 11.06 11.07 11.08 11.09
|
||
|
12 12.01 -1 -3 -1 112 12.06 12.07 12.08 12.09
|
||
|
13 13.01 13.02 2197 13.04 113 13.06 13.07 13.08 13.09
|
||
|
14 14.01 14.02 2744 14.04 114 14.06 14.07 14.08 14.09
|
||
|
15 15.01 15.02 3375 15.04 115 15.06 15.07 15.08 15.09
|
||
|
16 16.01 16.02 4096 16.04 116 16.06 16.07 16.08 16.09
|
||
|
17 17.01 17.02 4913 17.04 117 17.06 17.07 17.08 17.09
|
||
|
18 18.01 18.02 5832 18.04 118 18.06 18.07 18.08 18.09
|
||
|
19 19.01 19.02 6859 19.04 119 19.06 19.07 19.08 19.09
|
||
|
|