Multiply the coefficients of a polynomial with a factor
This functionality does not run in MATLAB.
multcoeffs(p, c) multiplies all coefficients
of the polynomial
p with the factor
A polynomial expression
f is first converted
to a polynomial with the variables given by
If no variables are given, they are searched for in
details of the conversion.
FAIL is returned if
be converted to a polynomial. After multiplication with
the result is converted to an expression.
Some simple examples:
multcoeffs(3*x^3 + x^2*y^2 + 2, 5)
multcoeffs(3*x^3 + x^2*y^2 + 2, c)
multcoeffs(poly(x^3 + 2, [x]), sin(y))
multcoeffs(f, c) is the same
an expanded form of the product which depends on the indeterminates:
f := 3*x^3 + x^2*y^2 + 2: multcoeffs(f, [x], c), multcoeffs(f, [y], c), multcoeffs(f, [z], c)
expression or an element of the coefficient ring of