Up | Next | Prev | PrevTail | Tail |
Authors: Fujio Kako and Masaaki Ito
In REDUCE, we can use the COEFF operator which returns a list of coefficients of a polynomial with respect to specified variables. On the other hand, the COEFF2 operator gives a polynomial in which each coefficient is replaced by special variables #1,#2,⋯. It is used with the same syntax as the COEFF operator:
Example:
would result in the output
If you want to retrieve the values of special variables #1,#2,⋯, we can use the command NM. The syntax for this is:
It returns the value of the variable #n. For example, to get the value of #1 in the above, one could say:
yields the result
It is also possible to evaluate an expression including special variables #1,#2,⋯ by EVAL2 operator. The syntax for this is:
Example:
The user may remove all values of special variables #1,#2,⋯ by the command RESET, in the form
Up | Next | Prev | PrevTail | Front |