Ordinals
Dec
decrement ordinal
Calling Sequence
Parameters
Returns
Description
Examples
Compatibility
Dec(a)
a
-
ordinal, nonnegative integer, or polynomial with positive integer coefficients
ordinal data structure, nonnegative integer, polynomial with positive integer coefficients, or .
The Dec(a) calling sequence decrements the ordinal number , if possible. If , then the return value is . Otherwise, if the trailing term is , where is an ordinal and is a positive integer, then exactly one of the following happens:
If then is replaced by .
If and , then the trailing term is replaced by the sum of the two terms .
Otherwise, if and , then the trailing exponent is replaced by .
Note that in general is not the largest ordinal number smaller than , because such an ordinal does not exist if is a limit ordinal, which means its trailing degree is nonzero.
If is a parametric ordinal number and is not a polynomial with nonnegative integer coefficients, an error is raised.
Parametric examples.
Error, (in Ordinals:-Dec) cannot decrement, x^2+x
The Ordinals[Dec] command was introduced in Maple 2015.
For more information on Maple 2015 changes, see Updates in Maple 2015.
See Also
Ordinals[Ordinal]
Ordinals[Sub]
Ordinals[tdegree]
Download Help Document