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

Function LPExpVString

libpolys/polys/shiftop.cc:580–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

578}
579
580char* LPExpVString(int *expV, ring ri)
581{
582 StringSetS("");
583 for (int i = 0; i <= ri->N; ++i)
584 {
585 StringAppend("%d", expV[i]);
586 if (i == 0)
587 {
588 StringAppendS("| ");
589 }
590 if (i % ri->isLPring == 0 && i != ri->N)
591 {
592 StringAppendS(" ");
593 }
594 }
595 return StringEndS();
596}
597
598// splits a frame (e.g. x(1)*y(5)) m1 into m1 and m2 (e.g. m1=x(1) and m2=y(1))
599// at is the number of the block to split at, starting at 1

Callers 1

WriteLPExpVFunction · 0.85

Calls 4

StringSetSFunction · 0.85
StringAppendFunction · 0.85
StringAppendSFunction · 0.85
StringEndSFunction · 0.85

Tested by

no test coverage detected