ContRap
The symbolic tool for control-flow based rapid prototyping.

Function coeff from ginac
Brief description

coeff(value:ex,object:,degree:int):ex

Returns the coefficient of a univariate polynomial with respect to the given variable occurring with the given degree More ...

Function information
Name: coeff
Base:
Group: GiNaC plugins:Polynomial algebra
Icon: ginac.png
Color: cyan
Authors:
Copyright:

Detailed description

Returns the coefficient of a univariate polynomial with respect to the given variable occurring with the given degree

Input parameters
value: ex
Polynomial expression
object:
Variable
degree: int
Degree of the monomial

Return values
Default return value: ex
Coefficient of the polynomial