Returns whether supplied simplices exist in the complex.
find(st, simplices)
a simplex tree.
simplices to insert, either as a vector, a list of vectors, or a column-matrix. See details.
boolean indicating whether or not simplex
exists in the tree.
st
Traverses the simplex tree looking for simplex
, returning whether or not it exists.
simplex
can be specified as vector to represent a single simplex, and a list to represent a set of simplices.
Each simplex
is sorted before traversing the trie.
If simplices
is a vector, it's assumed to be a simplex. If a list, its assumed each element in the list
represents a simplex (as vectors). If the simplices to insert are all of the same dimension, you can also
optionally use a matrix, where each column is assumed to be a simplex.
insert remove