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

Function writeInMatrix

factory/facFqBivarUtil.cc:585–597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583#endif
584
585void
586writeInMatrix (CFMatrix& M, const CFArray& A, const int column,
587 const int startIndex
588 )
589{
590 ASSERT (A.size () - startIndex >= 0, "wrong starting index");
591 ASSERT (A.size () - startIndex <= M.rows(), "wrong starting index");
592 ASSERT (column > 0 && column <= M.columns(), "wrong column");
593 if (A.size() - startIndex <= 0) return;
594 int j= 1;
595 for (int i= startIndex; i < A.size(); i++, j++)
596 M (j, column)= A [i];
597}
598
599CFArray getCoeffs (const CanonicalForm& F, const int k)
600{

Callers 7

liftAndComputeLatticeFunction · 0.85
extLiftAndComputeLatticeFunction · 0.85
facFqBivar.ccFile · 0.85
increasePrecisionFunction · 0.85
increasePrecision2Function · 0.85
increasePrecisionFq2FpFunction · 0.85

Calls 3

MFunction · 0.85
rowsMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected