| boundary | R Documentation |
Compute the boundary operator for a simplicial complex
boundary(simplices, bound_dim)
simplices |
A list of simplices (each a numeric vector). |
bound_dim |
The dimension k of the boundary operator |
\partial_k \sigma = \sum_i (-1)^i [v_0 v_1 \ldots \hat{v}_i \ldots v_k]
A sparse matrix representing \partial_{k}.
simplices <- list(c(1, 2), c(3, 4), c(2, 1, 3), c(4, 2))
boundary(simplices, 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.