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

Function normalFormZ

kernel/spectrum/spectrum.cc:206–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204// ----------------------------------------------------------------------------
205
206static inline poly normalFormZ( poly f,poly Z, const ring r )
207{
208 poly *ptr = &f;
209
210 while( (*ptr)!=NULL )
211 {
212 if( !isMultiple( Z,*ptr,r ) )
213 {
214 ptr = &(pNext( *ptr ));
215 }
216 else
217 {
218 p_LmDelete(ptr,r);
219 }
220 }
221
222 return f;
223}
224
225// ?? HS:
226// Looks for the shortest polynomial f in stdJ which is divisible

Callers 1

computeNFFunction · 0.85

Calls 2

isMultipleFunction · 0.85
p_LmDeleteFunction · 0.85

Tested by

no test coverage detected