|
D.13.6.32 parameterSubstitute
Procedure from library tropical.lib (see tropical_lib).
- Usage:
- parameterSubstitute(f,N); f poly, N int
- Assume:
- f is a polynomial in Q(t)[x_1,...,x_n] describing
a plane curve over Q(t)
- Return:
- poly f with t replaced by t^N
Example:
| LIB "tropical.lib";
==> Welcome to polymake version
==> Copyright (c) 1997-2015
==> Ewgenij Gawrilow, Michael Joswig (TU Darmstadt)
==> http://www.polymake.org
ring r=(0,t),(x,y),dp;
poly f=t2xy+1/t*y+t3;
parameterSubstitute(f,3);
==> (t6)*xy+1/(t3)*y+(t9)
parameterSubstitute(f,-1);
==> 1/(t2)*xy+(t)*y+1/(t3)
|
|