up previous next
IntersectionList    --    intersect lists, ideals, or modules


Syntax
IntersectionList(L: LIST of LIST): LIST
IntersectionList(L: LIST of IDEAL): IDEAL
IntersectionList(L: LIST of MODULE): MODULE

Description
This function returns the intersection of all elements in L. Generalizes intersection .

Example
/**/  use R ::= QQ[x,y,z];
/**/  Points := [[0,0],[1,0],[0,1],[1,1]]; -- a list of points in the plane
/**/  IntersectionList([ ideal(x-P[1]*z, y-P[2]*z)  |  P in Points]);
ideal(y^2 - y*z, x^2 - x*z)

/**/ IntersectionList([ 1..7, 3..10, 0..5 ]);
[3, 4, 5]

See Also