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

Function lcoeff from ginac
Brief description

lcoeff(value:ex,object:Object):ex

Returns the leading coefficient of a polynomial with respect to a variable More ...

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

Detailed description

Returns the leading coefficient of a polynomial with respect to a variable

Input parameters
value: ex
Polynomial expression
object: Object
Variable

Return values
Default return value: ex
Leading coefficient of the polynomial