Difference between revisions of "ApCoCoA-1:BB.ASneighbors"
From ApCoCoAWiki
Line 2: | Line 2: | ||
<title>BB.ASneighbors</title> | <title>BB.ASneighbors</title> | ||
<short_description>Compute a list of across-the-street neighbors.</short_description> | <short_description>Compute a list of across-the-street neighbors.</short_description> | ||
− | <syntax>BB.ASneighbors(OO:LIST):LIST</syntax> | + | |
+ | <syntax> | ||
+ | BB.ASneighbors(OO:LIST):LIST | ||
+ | </syntax> | ||
<description> | <description> | ||
Computes the list of across-the-street neighbors in the border of the order ideal OO. The input is a list OO of terms that specify an order ideal. The output is a list of quadruples [i,j,k,l] such that x_k * b_i = x_l * b_j. | Computes the list of across-the-street neighbors in the border of the order ideal OO. The input is a list OO of terms that specify an order ideal. The output is a list of quadruples [i,j,k,l] such that x_k * b_i = x_l * b_j. |
Revision as of 14:43, 24 April 2009
BB.ASneighbors
Compute a list of across-the-street neighbors.
Syntax
BB.ASneighbors(OO:LIST):LIST
Description
Computes the list of across-the-street neighbors in the border of the order ideal OO. The input is a list OO of terms that specify an order ideal. The output is a list of quadruples [i,j,k,l] such that x_k * b_i = x_l * b_j.
@param OO A list of terms representing an order ideal.
@return A list of across-the-street neighbors of OO.
Example
Use QQ[x,y,z]; BB.ASneighbors([1,x]); [[1, 2, 2, 3], [3, 4, 2, 3], [3, 5, 1, 3], [4, 5, 1, 2]] -------------------------------