| betti_number | R Documentation |
This helper function wraps Matrix::rankMatrix() to safely handle empty matrices (i.e., with 0 rows or columns).
betti_number(simplices, bound_dim, tol = NULL)
simplices |
A list of simplices representing the simplicial complex. |
bound_dim |
The dimension of the boundary to compute the Betti number for. |
tol |
Optional numerical tolerance to pass to |
An integer representing the rank of the matrix.
simplices <- list(c(1, 2), c(3, 4), c(2, 1, 3), c(4, 2))
betti_number(simplices, 0, tol=0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.