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

Method getNextMinor

kernel/linear_algebra/MinorProcessor.cc:409–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409IntMinorValue IntMinorProcessor::getNextMinor(const int characteristic,
410 const ideal& iSB,
411 const char* algorithm)
412{
413 /* call a helper method which computes the minor (without a cache): */
414 if (strcmp(algorithm, "Laplace") == 0)
415 return getMinorPrivateLaplace(_minorSize, _minor, characteristic, iSB);
416 else if (strcmp(algorithm, "Bareiss") == 0)
417 return getMinorPrivateBareiss(_minorSize, _minor, characteristic, iSB);
418 else assume(false);
419
420 /* The following code is never reached and just there to make the
421 compiler happy: */
422 return IntMinorValue();
423}
424
425IntMinorValue IntMinorProcessor::getNextMinor(Cache<MinorKey,
426 IntMinorValue>& c,

Callers 4

getMinorIdeal_IntFunction · 0.80
getMinorIdeal_PolyFunction · 0.80
getMinorIdealCache_IntFunction · 0.80
getMinorIdealCache_PolyFunction · 0.80

Calls 2

IntMinorValueClass · 0.85
PolyMinorValueClass · 0.85

Tested by

no test coverage detected