Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cooriented

mikolalysenko12BSD0.1.0

Checks relative orientation of cells

simplicial, complex, cell, triangle, homology, cohomology, orientation

readme

cooriented

Checks relative parity of two sequences. Can be used to evaluate the differential in simplicial homology.

Usage

Via npm:

npm install cooriented
console.log(require("cooriented")([0,1,2], [0,1])) // prints +1
console.log(require("cooriented")([0,1,2], [1,0])) // prints -1

Credits

(c) 2013 Mikola Lysenko.