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

 


AlffIdeal2EltAssure

Compute a two element representation of an ideal.

Syntax:

AlffIdeal2EltAssure(I);

alff order ideal
  I  

See also:  AlffIdealBasisUpperHNF

Description:

This function tries to represent a given ideal as the sum of two principal ideals (currently only for global function fields).


Example:


kash> AlffInit(FF(5,1));
"Defining global variables: k, w, kT, kTf, kTy, T, y, AlffGlobals"
kash> AlffOrders(y^3+(2*T+4)*y^2+(3*T^2+2*T+2)*y+T^7+T^6+2*T^5+3*T^4);
"Defining global variables: F, o, oi, one"
kash> a := AlffElt(o, [ 3, 0, 1 ]);
[ 3, 0, 1 ]
kash> I := (T+2)*o + a*o;
< 
[    1     0     0]
[    0 T + 2     0]
[    2     0 T + 2]
/ 1
 >
kash> AlffIdeal2EltAssure(I);
kash> I;
< [ T + 2, 0, 0 ], [ 4*T + 1, 2*T + 4, 3*T + 2 ] >
kash> AlffIdeal2EltAssure(I);
kash> I;
> < [ T + 2, 0, 0 ], [ 4*T + 1, 2*T + 4, 3*T + 2 ] >


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