
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
reduce-simplicial-complex
Advanced tools
Cancels oppositely oriented cells in a simplicial complex
Given 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.
var reduceCells = require('reduce-simplicial-complex')
var cells = [
[1, 2, 3],
[2, 1, 3],
[3, 2, 1],
[4, 5, 6],
[7, 8]
]
console.log(reduceCells(cells))
npm i reduce-simplicial-complex
require('reduce-simplicial-complex')(cells)
Cancels all pairs of oppositely oriented cells
cells
is an array of cellsReturns A collapsed list of cells
Note This is done in place. If you need a copy, you should make a copy first, for example using cells.slice()
.
(c) 2015 Mikola Lysenko. MIT License
FAQs
Cancels oppositely oriented cells in a simplicial complex
We found that reduce-simplicial-complex demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.