[back] [prev] [next] [index] [root]

 


ThueEval

missing shortdoc

Syntax:

a := ThueEval(t,x,y);

int
  a  
Thue object
  t  
int
  x  
int
  y  

See also:  Thue, ThueSolve

Description:

Let f(X,Y) \in {Z}[X,Y] be the homogeneous polynomial of the Thue object t generated by the KASH function Thue. The ThueEval function evaluates f at (x,y).


Example:

With f(X,Y) = X^3 + X^2 Y - 6 X Y^2 + 2 Y^3 compute f(1,1), f(3,1) and f(-724,-411).

kash> t := Thue([1,1,-6,2]);
X^3 + X^2 Y - 6 X Y^2 + 2 Y^3
kash> ThueEval(t,1,1);
-2
kash> ThueEval(t,3,1);
20
kash> ThueEval(t,-724,-411);
> 2


<- back[back] [prev] [next] [index] [root]