Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Map a function over the coefficients of a polynomial
ResourceFunction["CoefficientMap"][f,p] maps the function f over the coefficients of polynomial p. | |
ResourceFunction["CoefficientMap"][f,p,vars] maps the function f over the coefficients of polynomial p in variables vars. |
Map an arbitrary function over the coefficients of a polynomial:
| In[1]:= |
| Out[1]= |
Take the square root of the coefficients of a polynomial:
| In[2]:= |
| Out[2]= |
By default none of the variables identified by Variables will be considered part of the coefficient:
| In[3]:= |
| Out[3]= |
When specifying the variables of the polynomial using a third arguments, other symbols will be considered part of the coefficient:
| In[4]:= |
| Out[4]= |
This work is licensed under a Creative Commons Attribution 4.0 International License