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

Function idLift_setUnit

kernel/ideals.cc:1082–1093  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1080}
1081
1082static void idLift_setUnit(int e_mod, matrix *unit)
1083{
1084 if (unit!=NULL)
1085 {
1086 *unit=mpNew(e_mod,e_mod);
1087 // make sure that U is a diagonal matrix of units
1088 for(int i=e_mod;i>0;i--)
1089 {
1090 MATELEM(*unit,i,i)=pOne();
1091 }
1092 }
1093}
1094/*2
1095*computes a representation of the generators of submod with respect to those
1096* of mod

Callers 1

idLiftFunction · 0.85

Calls 1

mpNewFunction · 0.85

Tested by

no test coverage detected