Commit a68f125
authored
Miscellaneous fixes concerning vector and matrix objects (#6369)
* add checks to `NewVector`, `NewMatrix` for the GF(2) and 8 bit repres.
in order to catch `fail` results
* add a `String` method for rings `Integers mod n`
* fix the default `OneMutable` method for `IsMatrixObj`
Test that the input is square, as for list-of-lists matrices.
* minor fixes for `IsPlistVectorRep`
- check the input list for `IsPlistRep` in `MakeIsPlistVectorRep`,
let `NewVector` turn the input to `IsPlistRep` if necessary
- forbid assignments into a `IsPlistVectorRep` vector beyond its length
* fix `SolutionMatDestructive`
Conceptually, the solution must be in the same representation
as the given vector.
(Let us see which other bugs will come to the surface now.)
* fix `TestPositionNonZeroInRow`1 parent f9d2d84 commit a68f125
11 files changed
Lines changed: 70 additions & 17 deletions
File tree
- hpcgap/lib
- lib
- tst/testinstall/MatrixObj
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1133 | 1133 | | |
1134 | 1134 | | |
1135 | 1135 | | |
1136 | | - | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
1137 | 1139 | | |
1138 | 1140 | | |
1139 | | - | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
1140 | 1146 | | |
1141 | 1147 | | |
1142 | 1148 | | |
| |||
1170 | 1176 | | |
1171 | 1177 | | |
1172 | 1178 | | |
1173 | | - | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
1174 | 1182 | | |
1175 | 1183 | | |
1176 | 1184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2555 | 2555 | | |
2556 | 2556 | | |
2557 | 2557 | | |
| 2558 | + | |
2558 | 2559 | | |
2559 | | - | |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
| 2564 | + | |
2560 | 2565 | | |
2561 | 2566 | | |
2562 | 2567 | | |
| |||
2583 | 2588 | | |
2584 | 2589 | | |
2585 | 2590 | | |
2586 | | - | |
| 2591 | + | |
| 2592 | + | |
| 2593 | + | |
2587 | 2594 | | |
2588 | 2595 | | |
2589 | 2596 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1476 | 1476 | | |
1477 | 1477 | | |
1478 | 1478 | | |
1479 | | - | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
1480 | 1487 | | |
1481 | 1488 | | |
1482 | 1489 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| |||
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
180 | | - | |
| 182 | + | |
181 | 183 | | |
182 | 184 | | |
183 | 185 | | |
| |||
343 | 345 | | |
344 | 346 | | |
345 | 347 | | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
346 | 351 | | |
347 | 352 | | |
348 | 353 | | |
| |||
699 | 704 | | |
700 | 705 | | |
701 | 706 | | |
702 | | - | |
| 707 | + | |
703 | 708 | | |
704 | 709 | | |
705 | 710 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3040 | 3040 | | |
3041 | 3041 | | |
3042 | 3042 | | |
3043 | | - | |
3044 | | - | |
| 3043 | + | |
3045 | 3044 | | |
3046 | 3045 | | |
3047 | 3046 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1088 | 1088 | | |
1089 | 1089 | | |
1090 | 1090 | | |
1091 | | - | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
1092 | 1094 | | |
1093 | 1095 | | |
1094 | | - | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
1095 | 1101 | | |
1096 | 1102 | | |
1097 | 1103 | | |
| |||
1125 | 1131 | | |
1126 | 1132 | | |
1127 | 1133 | | |
1128 | | - | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
1129 | 1137 | | |
1130 | 1138 | | |
1131 | 1139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2553 | 2553 | | |
2554 | 2554 | | |
2555 | 2555 | | |
| 2556 | + | |
2556 | 2557 | | |
2557 | | - | |
| 2558 | + | |
| 2559 | + | |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
2558 | 2563 | | |
2559 | 2564 | | |
2560 | 2565 | | |
| |||
2581 | 2586 | | |
2582 | 2587 | | |
2583 | 2588 | | |
2584 | | - | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
2585 | 2592 | | |
2586 | 2593 | | |
2587 | 2594 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
869 | 869 | | |
870 | 870 | | |
871 | 871 | | |
| 872 | + | |
872 | 873 | | |
873 | 874 | | |
874 | 875 | | |
| |||
884 | 885 | | |
885 | 886 | | |
886 | 887 | | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
887 | 893 | | |
888 | 894 | | |
889 | 895 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
0 commit comments