reduce-simplicial-complex

WebJar for reduce-simplicial-complex

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

reduce-simplicial-complex
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

reduce-simplicial-complex
WebJar for reduce-simplicial-complex
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/mikolalysenko/reduce-simplicial-complex

Скачать reduce-simplicial-complex

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/reduce-simplicial-complex/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>reduce-simplicial-complex</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/reduce-simplicial-complex/
implementation 'org.webjars.npm:reduce-simplicial-complex:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/reduce-simplicial-complex/
implementation ("org.webjars.npm:reduce-simplicial-complex:1.0.0")
'org.webjars.npm:reduce-simplicial-complex:jar:1.0.0'
<dependency org="org.webjars.npm" name="reduce-simplicial-complex" rev="1.0.0">
  <artifact name="reduce-simplicial-complex" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='reduce-simplicial-complex', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "reduce-simplicial-complex" % "1.0.0"
[org.webjars.npm/reduce-simplicial-complex "1.0.0"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.webjars.npm : cell-orientation jar [1.0.1,2)
org.webjars.npm : compare-cell jar [1.0.0,2)
org.webjars.npm : compare-oriented-cell jar [1.0.1,2)

Модули Проекта

Данный проект не имеет модулей.

reduce-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.

Example

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))

Install

npm i reduce-simplicial-complex

API

require('reduce-simplicial-complex')(cells)

Cancels all pairs of oppositely oriented cells

  • cells is an array of cells

Returns 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().

License

(c) 2015 Mikola Lysenko. MIT License

Версии библиотеки

Версия
1.0.0