{"_id":"compare-oriented-cell","_rev":"4-f1162b52ad8f3464addfffd6cd262326","name":"compare-oriented-cell","description":"Test if two sets of integers are equal up to an even permutation","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"compare-oriented-cell","version":"1.0.0","description":"Test if two sets of integers are equal up to an even permutation","main":"compare.js","directories":{"test":"test"},"dependencies":{"compare-cell":"^1.0.0"},"devDependencies":{"tape":"^4.0.0","shuffle-array":"^0.1.0"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"https://github.com/mikolalysenko/compare-oriented-cell.git"},"keywords":["cell","complex","simplex","simplicial","graph","oriented","directed","topology","index","search"],"author":{"name":"Mikola Lysenko"},"license":"MIT","bugs":{"url":"https://github.com/mikolalysenko/compare-oriented-cell/issues"},"homepage":"https://github.com/mikolalysenko/compare-oriented-cell","gitHead":"c32bbd458889273ae75863b3282f022dcc1e32cd","_id":"compare-oriented-cell@1.0.0","_shasum":"04086e14c3020ec165fa49903ca32fa6b20d99b0","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"dist":{"shasum":"04086e14c3020ec165fa49903ca32fa6b20d99b0","tarball":"https://registry.npmjs.org/compare-oriented-cell/-/compare-oriented-cell-1.0.0.tgz","integrity":"sha512-J7iZFWx87brrCh6mjQK5um8cZdcuNhePm2m9Mop/UB+VB3/Lw4g4ZPk0+uQnqNIgjDjpml+Re9pOEKs6Q0Y2/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBypx8lkOp6f0JTKrHFGVFwFiw72rG3GItIIc+QlkC48AiEA9O3XlU8lMo+Z6A9bzfKi61teOHiBkZDUyaFiKf9fRDo="}]},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}]},"1.0.1":{"name":"compare-oriented-cell","version":"1.0.1","description":"Test if two sets of integers are equal up to an even permutation","main":"compare.js","directories":{"test":"test"},"dependencies":{"cell-orientation":"^1.0.1","compare-cell":"^1.0.0"},"devDependencies":{"tape":"^4.0.0","shuffle-array":"^0.1.0"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"https://github.com/mikolalysenko/compare-oriented-cell.git"},"keywords":["cell","complex","simplex","simplicial","graph","oriented","directed","topology","index","search"],"author":{"name":"Mikola Lysenko"},"license":"MIT","bugs":{"url":"https://github.com/mikolalysenko/compare-oriented-cell/issues"},"homepage":"https://github.com/mikolalysenko/compare-oriented-cell","gitHead":"b18e141d01c20fcd1fdbe1e46bb01ea131279772","_id":"compare-oriented-cell@1.0.1","_shasum":"6a149feef9dfc4f8fc62358e51dd42effbbdc39e","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"dist":{"shasum":"6a149feef9dfc4f8fc62358e51dd42effbbdc39e","tarball":"https://registry.npmjs.org/compare-oriented-cell/-/compare-oriented-cell-1.0.1.tgz","integrity":"sha512-9D7R2MQfsGGRskZAZF0TkJHt9eFNbFkZyVdVps+WUYxtRHgG77BLbieKgSkj7iEAb9PNDSU9QNa9MtigjQ3ktQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICjTEDUzrD2Qixl2EmoxPApg+R7Ukf9gZQnYdTEvP3CRAiEAl1WdjvdTq9rrv1rQFRRHjV+TbrCfgFd/BMZsthWUWAM="}]},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}]}},"readme":"compare-oriented-cell\n=====================\nThis module defines an ordering on oriented cells.  It is similar to `compare-cell`, except that it considers cells which are oriented clockwise/counter clockwise to be distinct.\n\n# Example\n\n```javascript\nvar compare = require('compare-oriented-cell')\n\n//Create 3 triangles\nvar a = [0, 1, 2]\nvar b = [1, 2, 0]\nvar c = [1, 0, 2]\n\n//Triangle a and b are equivalent up to an even permutation\nconsole.log(compare(a, b) === 0)\n\n//Triangle a and c are different as they not oriented the same\nconsole.log(compare(a, c) === 0)\n```\n\n# Install\n\n```\nnpm i compare-oriented-cell\n```\n\n# API\n\n#### `require('compare-oriented-cell')(a, b)`\nCompares two oriented cells.\n\n* `a, b` are lists of integers\n\n**Returns** `+/-1` if `a` and `b` are different, `0` otherwise\n\n# License\n(c) 2015 Mikola Lysenko. MIT License\n","maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"time":{"modified":"2022-06-13T19:41:24.277Z","created":"2015-06-20T16:52:44.242Z","1.0.0":"2015-06-20T16:52:44.242Z","1.0.1":"2015-06-20T18:28:13.533Z"},"homepage":"https://github.com/mikolalysenko/compare-oriented-cell","keywords":["cell","complex","simplex","simplicial","graph","oriented","directed","topology","index","search"],"repository":{"type":"git","url":"https://github.com/mikolalysenko/compare-oriented-cell.git"},"author":{"name":"Mikola Lysenko"},"bugs":{"url":"https://github.com/mikolalysenko/compare-oriented-cell/issues"},"license":"MIT","readmeFilename":"README.md"}