Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Ideal generated by the polynomials in a list
PostPosted: 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


Report this post
Top
  
Reply with quote  
 Post subject: Re: ideal generated by the polynomial in a list
PostPosted: Fri Jun 29, 2007 1:31 pm 

Joined: Wed May 25, 2005 4:16 pm
Posts: 275
ideal i=l[1..size(L)];
will create the ideal i generated by the elements of the list


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 11:03 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group