CoCoA:UnivariateIndetIndex

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UnivariateIndetIndex

the index of the indeterminate of a univariate polynomial

Description

This function returns 0 if the polynomial F is not univariate

otherwise it returns the indeterminate index of F.

NB: If F is a constant, it returns 1.

Example

  Use Q[x,y];
  UnivariateIndetIndex(3x^4-2x-1);
1
-------------------------------
  UnivariateIndetIndex(x-y-1);
0
-------------------------------
  UnivariateIndetIndex(3);
1
-------------------------------


Syntax

UnivariateIndetIndex(F: POLY): INT

Indet

IndetInd

IndetIndex

IndetName

Indets

NumIndets

   <type>ring</type>
   <type>polynomial</type>