Package sagbi/SB.FindLTRepr glpk
|This article is about a function from ApCoCoA-2.|
SB.FindLTRepr_glpk(t: POLY, T: LIST of POLY): LIST
@param t A term, i.e. a monic polynomial with only one term in its support
@param T A list [t1,...,ts] of terms in the same polynomial ring as t
@return A list [a1,...,as] such that t = t1^a1 * ... * ts^as or  if such a list doesn't exist.
Use QQ[x,y,z]; t := x^2*y^5*z^3; T := [x*y, y*z^2, x*z, y]; SB.FindLTRepr_glpk(t,T); -- [1, 1, 1, 3]