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

Function firstLC

factory/cfGcdAlgExt.cc:955–961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

953
954
955CanonicalForm firstLC(const CanonicalForm & f)
956{ // returns the leading coefficient (LC) of level <= 1
957 CanonicalForm ret = f;
958 while(ret.level() > 1)
959 ret = LC(ret);
960 return ret;
961}
962
963#ifndef HAVE_NTL
964void tryExtgcd( const CanonicalForm & F, const CanonicalForm & G, const CanonicalForm & M, CanonicalForm & result, CanonicalForm & s, CanonicalForm & t, bool & fail )

Callers 1

tryBrownGCDFunction · 0.85

Calls 2

LCFunction · 0.85
levelMethod · 0.45

Tested by

no test coverage detected