[GAP Forum] Indeterminates of polynomial function

Alexander Hulpke hulpke at fastmail.fm
Mon Aug 3 19:52:05 BST 2015


Dear Forum, Dear Kit Nurlan Lessenger-Anclecharly,

> Can you help me please.
> I need get a list of indeterminates of a polynom or maybe ring where the polynome is.
> For example: if
> 
> f:=x^2y^3 + z

OccuringVariableIndices(f);

will return a list of the index numbers of the occurring variables, and

List(OccuringVariableIndices(f),x->UnivariatePolynomialByCoefficients(CoefficientsFamily(FamilyObj(f)),[0,1],x));

will return a list of the actual variables.

Regards,

   Alexander Hulpke

> 
> Nurlan
> 
> 
> 
> 
> _______________________________________________
> Forum mailing list
> Forum at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/forum




More information about the Forum mailing list