# ApCoCoA-1:BB.NDneighbors

From ApCoCoAWiki

## borderbasis.NDneighbors

Computes list of ND neighbors in border of OO

### Syntax

$borderbasis.NDneighbors(OO:LIST):LIST

### Description

Computes the list of next-door neighbors in the border of OO. The input is a list of terms OO (2nd element of type POLY). The output is a list of triples <formula>[i,j,k]</formula> s.t. <formula>b_i = x_k * b_j</formula>.