{"_id":"reduce-simplicial-complex","_rev":"3-7dfd9b8fdd4c4c1d170f04affe9f1a91","name":"reduce-simplicial-complex","description":"Cancels oppositely oriented cells in a simplicial complex","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"reduce-simplicial-complex","version":"1.0.0","description":"Cancels oppositely oriented cells in a simplicial complex","main":"reduce.js","directories":{"test":"test"},"dependencies":{"cell-orientation":"^1.0.1","compare-cell":"^1.0.0","compare-oriented-cell":"^1.0.1"},"devDependencies":{"tape":"^4.0.0","oriented-simplicial-complex-compare":"^1.0.0"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"https://github.com/mikolalysenko/reduce-simplicial-complex.git"},"keywords":["topology","simplicial","complex","orientation","reduce","cells"],"author":{"name":"Mikola Lysenko"},"license":"MIT","bugs":{"url":"https://github.com/mikolalysenko/reduce-simplicial-complex/issues"},"homepage":"https://github.com/mikolalysenko/reduce-simplicial-complex","gitHead":"8f824fe9f5f6f0e0af25df87a90171337cbaf3f4","_id":"reduce-simplicial-complex@1.0.0","_shasum":"74d696a2f835f7a6dcd92065fd8c5181f2edf8bc","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"dist":{"shasum":"74d696a2f835f7a6dcd92065fd8c5181f2edf8bc","tarball":"https://registry.npmjs.org/reduce-simplicial-complex/-/reduce-simplicial-complex-1.0.0.tgz","integrity":"sha512-t+nT7sHDtcxBx8TbglqfLsLKoFiSn9hp6GFojJEThHBAFv72wQeq/uRiPYZa4Xb8FR1Ye1foRcBV3Ki6bgm+pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC1H+IMDetLd+t/1ekTf3dMBuGXSw624PCvcjS/3sag+AiAeP9hO8ZZ7XGSZ5gsMcDtuyJkUtuZTi3LSaJJfZkGcvg=="}]},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}]}},"readme":"reduce-simplicial-complex\n=========================\nGiven an oriented simplicial complex, this module computes a minimal basis for the complex in the integer homology sense.  That is, it cancels out all pairs of equivalent cells which have opposite orientation.\n\n# Example\n\n```javascript\nvar reduceCells = require('reduce-simplicial-complex')\n\nvar cells = [\n  [1, 2, 3],\n  [2, 1, 3],\n  [3, 2, 1],\n  [4, 5, 6],\n  [7, 8]\n]\n\nconsole.log(reduceCells(cells))\n```\n\n# Install\n\n```\nnpm i reduce-simplicial-complex\n```\n\n# API\n\n#### `require('reduce-simplicial-complex')(cells)`\nCancels all pairs of oppositely oriented cells\n\n* `cells` is an array of cells\n\n**Returns** A collapsed list of cells\n\n**Note** This is done in place.  If you need a copy, you should make a copy first, for example using `cells.slice()`.\n\n# License\n(c) 2015 Mikola Lysenko. MIT License\n","maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"time":{"modified":"2022-06-26T09:55:02.934Z","created":"2015-06-20T18:59:52.135Z","1.0.0":"2015-06-20T18:59:52.135Z"},"homepage":"https://github.com/mikolalysenko/reduce-simplicial-complex","keywords":["topology","simplicial","complex","orientation","reduce","cells"],"repository":{"type":"git","url":"https://github.com/mikolalysenko/reduce-simplicial-complex.git"},"author":{"name":"Mikola Lysenko"},"bugs":{"url":"https://github.com/mikolalysenko/reduce-simplicial-complex/issues"},"license":"MIT","readmeFilename":"README.md"}