simplicial-complex-boundary
Extracts the boundary of a simplicial complex
Last updated 10 years ago by mikolalysenko .
MIT · Repository · Bugs · Original npm
$ cnpm install simplicial-complex-boundary 
SYNC missed versions from official npm registry.

simplicial-complex-boundary

Extracts the boundary of a simplicial complex.

Example

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

Current Tags

  • 1.0.1                                ...           latest (10 years ago)

1 Versions

  • 1.0.1                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org