Singular
https://www.singular.uni-kl.de/forum/

Ideal generated by the polynomials in a list
https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=1642
Page 1 of 1

Author:  Jeff Hall [ Tue Jun 19, 2007 11:33 pm ]
Post subject:  Ideal generated by the polynomials in a list

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

Author:  hannes [ Fri Jun 29, 2007 1:31 pm ]
Post subject:  Re: ideal generated by the polynomial in a list

ideal i=l[1..size(L)];
will create the ideal i generated by the elements of the list

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/