invert-permutation

WebJar for invert-permutation

Лицензия

Лицензия

MIT
Группа

Группа

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

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

invert-permutation
Последняя версия

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

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

invert-permutation
WebJar for invert-permutation
Ссылка на сайт

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

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

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

https://github.com/scijs/invert-permutation

Скачать invert-permutation

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

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

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

invert-permutation

Computes the inverse of a permutation

Example

console.log( require("invert-permutation")([1,3,0,2]) )

//Prints:
//          [ 2, 1, 3, 0 ]

Install

npm install invert-permutation

API

`require("invert-permutation")(perm[, result])

Inverts a permutation

  • perm is the permutation to invert
  • result is an optional array that gets the result of inverting the permutation

Returns result or a newly allocated array if nothing is specified

Credits

(c) 2013 Mikola Lysenko. MIT License

org.webjars.npm

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

Версия
1.0.0