Socket
Book a DemoInstallSign in
Socket

orientedsimplicial-complex-compare

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orientedsimplicial-complex-compare

A total order on simplicial complexes

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

oriented-simplicial-complex-compare

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

Example

var sccmp = require('oriented-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 oriented-simplicial-complex-compare

API

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

Test if two oriented 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

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