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

Function findNormalizingFactor1

factory/facSparseHensel.h:122–135  ·  view source on GitHub ↗

find normalizing factors for @a biFactors and build monic univariate factors from @a biFactors

Source from the content-addressed store, hash-verified

120/// find normalizing factors for @a biFactors and build monic univariate factors
121/// from @a biFactors
122inline CFList
123findNormalizingFactor1 (const CFList& biFactors, const CanonicalForm& evalPoint,
124 CFList& uniFactors)
125{
126 CFList result;
127 CanonicalForm tmp;
128 for (CFListIterator i= biFactors; i.hasItem(); i++)
129 {
130 tmp= i.getItem() (evalPoint);
131 uniFactors.append (tmp /Lc (tmp));
132 result.append (Lc (tmp));
133 }
134 return result;
135}
136
137/// find normalizing factors for @a biFactors and sort @a biFactors s.t.
138/// the returned @a biFactors evaluated at evalPoint coincide with @a uniFactors

Callers 1

sparseHeuristicFunction · 0.85

Calls 3

LcFunction · 0.85
hasItemMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected