| 675 | |
| 676 | |
| 677 | void nforder::createmulttable(bigintmat **a) { |
| 678 | // Falls es eine Multtable gibt, liefere eine Kopie davon zurück |
| 679 | if (multtable != NULL) { |
| 680 | for (int i=0; i<dimension; i++) { |
| 681 | a[i] = new bigintmat(multtable[i]); |
| 682 | } |
| 683 | } |
| 684 | else { |
| 685 | // Sonst berechne sie auf kanonische Art und Weise |
| 686 | bigintmat *bas = new bigintmat(1, dimension, basecoeffs()); |
| 687 | for (int i=0; i<dimension; i++) { |
| 688 | basis_elt(bas, i+1); |
| 689 | a[i] = new bigintmat(dimension, dimension, basecoeffs()); |
| 690 | multmap(bas, a[i]); |
| 691 | } |
| 692 | } |
| 693 | } |
nothing calls this directly
no test coverage detected