Skip to content

archmoj/simplicial-complex-boundary

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Extracts the boundary of a simplicial complex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%