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

Function GFMapUp

factory/cf_map_ext.cc:241–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241CanonicalForm GFMapUp (const CanonicalForm & F, int k)
242{
243 int d= getGFDegree();
244 ASSERT (d%k == 0, "multiple of GF degree expected");
245 int p= getCharacteristic();
246 int ext_field_size= ipower (p, d);
247 int field_size= ipower ( p, k);
248 int diff= (ext_field_size - 1)/(field_size - 1);
249 return GFPowUp (F, diff);
250}
251
252/// GFMapDown helper
253static inline

Callers 5

modGCDGFFunction · 0.85
EZGCD_PFunction · 0.85
gcd_test_oneFunction · 0.85
extBiFactorizeFunction · 0.85
extFactorizeFunction · 0.85

Calls 4

getGFDegreeFunction · 0.85
getCharacteristicFunction · 0.85
ipowerFunction · 0.85
GFPowUpFunction · 0.85

Tested by

no test coverage detected