🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

simplicial-complex-boundary

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simplicial-complex-boundary

Extracts the boundary of a simplicial complex

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
25K
14.68%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

simplicial

FAQs

Package last updated on 20 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts