MCPcopy Create free account
hub / github.com/Singular/Singular / createmulttable

Method createmulttable

Singular/dyn_modules/Order/nforder.cpp:677–693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

675
676
677void 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}

Callers

nothing calls this directly

Calls 1

basis_eltFunction · 0.85

Tested by

no test coverage detected