simplicial-complex-compare

1.0.0 • Public • Published

simplicial-complex-compare

A total order on unoriented simplicial complexes. Can be used to test for equality.

Example

var sccmp = require('simplicial-complex-compare')
 
var a = [
    [1, 2, 3],
    [3, 2, 4]
  ]
 
var b = [
    [2, 4, 3],
    [3, 1, 2]
  ]
 
//Test if a is equivalent to b
console.log(sccmp(a,b) === 0)

Install

npm i simplicial-complex-compare

API

require('simplicial-complex-compare')(a, b)

Test if two simplicial complexes are equal or orders them.

  • a,b are lists of cells

Returns 0 if a and b are equal, otherwise a number which gives their order relative to one another

License

(c) 2015 Mikola Lysenko. MIT License

install

npm i simplicial-complex-compare

Downloadsweekly downloads

0

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability