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

Function p_MonMultCMB

kernel/fast_mult.cc:455–464  ·  view source on GitHub ↗

3 * compute for monomials p*q * keeps p, q * uses bin only available in MCPower */

Source from the content-addressed store, hash-verified

453* uses bin only available in MCPower
454*/
455static poly p_MonMultCMB(poly p, poly q, ring r)
456{
457 number x;
458 poly res = p_Init(r,lm_bin);
459
460 x = n_Mult(p_GetCoeff(p,r),p_GetCoeff(q,r),r->cf);
461 p_SetCoeff0(res,x,r);
462 p_ExpVectorSum(res,p, q,r);
463 return res;
464}
465// unused
466#if 0
467static poly p_MonPowerMB(poly p, int exp, ring r)

Callers 1

pFastPowerMCFunction · 0.85

Calls 3

p_InitFunction · 0.85
n_MultFunction · 0.85
p_ExpVectorSumFunction · 0.85

Tested by

no test coverage detected