Description Usage Arguments Value
Returns TRUE if the neighboring locations are connected to the given location, FALSE if not.
1 | is_connected(neighbor_locations, location, adjacency_matrix)
|
neighbor_locations |
A |
location |
A location, preferably given as an integer. |
adjacency_matrix |
A boolean matrix, with element (i,j) set to TRUE if location j is adjacent to location i. |
Boolean: is the neighbors connected to the given location?
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.