Extracts the boundary of a simplicial complex
MIT License
Extracts the boundary of a simplicial complex.
var boundary = require('simplicial-complex-boundary')
var cells = [
[0,1,2],
[1,2,3]
]
console.log(boundary(cells))
Output:
[ [ 0, 1 ], [ 0, 2 ], [ 1, 3 ], [ 2, 3 ] ]
npm i simplicial-complex-boundary
var bnd = require('simplicial-complex-boundary')(cells)
Computes the boundary of a simplicial complex
cells
are the cells of a simplicial complexReturns The boundary of the simplicial complex (in the Z/2 homology sense)
(c) 2015 Mikola Lysenko. MIT License