Difference between revisions of "ApCoCoA-1:BB.NDneighbors"
From ApCoCoAWiki
m (Bot: Category moved) |
m (Bot: fixed typo) |
||
Line 33: | Line 33: | ||
<key>BB.NDneighbors</key> | <key>BB.NDneighbors</key> | ||
<key>borderbasis.NDneighbors</key> | <key>borderbasis.NDneighbors</key> | ||
− | <wiki-category> | + | <wiki-category>ApCoCoA-1:Package_borderbasis</wiki-category> |
</command> | </command> |
Revision as of 15:54, 2 October 2020
BB.NDneighbors
Computes a list of next-door neighbors.
Syntax
BB.NDneighbors(OO:LIST):LIST
Description
This command computes the list of next-door 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 triples [i,j,k] such that b_i = x_k * b_j where the border terms b_i and b_j correspond to the i-th and j-th element of the list returned by the command BB.Border(OO).
@param OO A list of terms representing an order ideal.
@return A list of next-door neighbors of OO.
Example
Use QQ[x,y,z]; BB.Border([1,x]); BB.NDneighbors([1,x]); [z, y, xz, xy, x^2] ------------------------------- [[3, 1, 1], [4, 2, 1]] -- E.g. the first triple of the result can be interpreted -- as x*z = xz