StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
664 B
41 lines
664 B
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 |