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

Function conv2mipo

factory/variable.cc:154–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152#endif /* NOSTREAMIO */
153
154static CanonicalForm conv2mipo ( const CanonicalForm & mipo, const Variable & alpha )
155{
156 CanonicalForm result;
157 for ( CFIterator i = mipo; i.hasTerms(); i++ )
158 result += i.coeff() * power( alpha, i.exp() );
159 return result;
160}
161
162Variable rootOf( const CanonicalForm & mipo, char name )
163{

Callers 2

rootOfFunction · 0.85
setMipoFunction · 0.85

Calls 4

powerFunction · 0.85
hasTermsMethod · 0.80
coeffMethod · 0.45
expMethod · 0.45

Tested by

no test coverage detected