Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikolalysenko/simplicial-complex-boundary
Extracts the boundary of a simplicial complex
https://github.com/mikolalysenko/simplicial-complex-boundary
Last synced: about 2 months ago
JSON representation
Extracts the boundary of a simplicial complex
- Host: GitHub
- URL: https://github.com/mikolalysenko/simplicial-complex-boundary
- Owner: mikolalysenko
- License: mit
- Created: 2015-03-10T00:48:25.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-12-06T21:56:50.000Z (about 4 years ago)
- Last Synced: 2024-10-20T14:28:06.826Z (2 months ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 8
- Watchers: 3
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
simplicial-complex-boundary
===========================
Extracts the boundary of a simplicial complex.# Example
```javascript
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 ] ]
```# Install
```
npm i simplicial-complex-boundary
```# API
#### `var bnd = require('simplicial-complex-boundary')(cells)`
Computes the boundary of a simplicial complex* `cells` are the cells of a simplicial complex
**Returns** The boundary of the simplicial complex (in the Z/2 homology sense)
# License
(c) 2015 Mikola Lysenko. MIT License