Ideal generated by the polynomials in a list
Jeff Hall · Tue Jun 19, 2007 11:33 pm
Hi,
How does one cast an object of type List into an "Expression List"? I have lists of polynomials from which I need to generated ideals. But if I try, for example:
> ring r=0,(x,y,z),dp;
> list l = x,y,z;
>l;
[1]:
x
[2]:
y
[3]:
z
> ideal i = l;
? `ideal` = `list` is not supported
? expected `ideal` = `ideal`
? expected `ideal` = `matrix`
? error occurred in STDIN line 40: `ideal i = l ;`
? expected ideal-expression. type 'help ideal;'
There must be some way to take the polynomials in an arbitrary list and construct an object that represents the ideal that they generate. But I can't figure out how.
- Jeff
How does one cast an object of type List into an "Expression List"? I have lists of polynomials from which I need to generated ideals. But if I try, for example:
> ring r=0,(x,y,z),dp;
> list l = x,y,z;
>l;
[1]:
x
[2]:
y
[3]:
z
> ideal i = l;
? `ideal` = `list` is not supported
? expected `ideal` = `ideal`
? expected `ideal` = `matrix`
? error occurred in STDIN line 40: `ideal i = l ;`
? expected ideal-expression. type 'help ideal;'
There must be some way to take the polynomials in an arbitrary list and construct an object that represents the ideal that they generate. But I can't figure out how.
- Jeff