Search results
122 packages found
`next_permutation`是一个全排列功能的函数,可以接收一个字符串s和数字n,可以返回s在全排列中的n步后的字符串(如果已到最后一个排列,则返回最后一个)
Number of Cases Generator
- number of cases
- case generator
- cartesian product
- combination
- factorial
- permutation
- repeated combination
- repeated permutation
Permutation generator with custom options.
Tools used to understand or work with numbers in Node.JS, Javascript and derivatives.
- number
- numbers
- math
- theory
- abundant
- adaptive simpson
- addition
- affine
- arithmetic
- basic
- bates
- binomial
- box muller
- box muller transform
- View more
Javascript library for mapping permutations onto numbers which allows for looping through a set of permutations and skipping ranges
permutation using Steinhaus-Johnson-Trotter algorithm with Even's speed up. This package deliver asynchronously permutations of the original array
Validates if a value is a permutation.
Validation utilities.
- validate.io
- validator
- validation
- validate
- valid
- is
- isvalid
- check
- typed
- assert
- expect
- api
- string
- primitive
- View more
Random numbers and Distributions generation
- random
- distribution
- uniform
- normal
- gaussian
- bernoulli
- shuffle
- derangement
- permutation
- sampling
- random number generator
- analyzis
- winsorize
- zipf
- View more
A quite fast non-recursive permutation algorithm, Steinhaus–Johnson–Trotter algorithm (Even's speedup)
Permutation library for JavaScript
Shuffles array elements in place.
Invertible transformations on permutation representations, including an RNG-free in-place Fisher-Yates-Knuth shuffle
- base
- factoradic
- factorial
- Fisher-Yates
- Fisher-Yates-Knuth
- in-place
- Knuth
- number
- permutation
- permutations
- permute
- shuffle
- system
Simple object and array cartesian combination generator (for node, typescript and the browser).
𝓟ℯ𝓇𝑚𝓊𝓉𝒶𝓉ℯ𝒹: get all available combinations
Iterate permutations described by a states object.
Calculates all possible permutations of a certain size.
Generate a series of tuples in lexicographical order
- alphabet
- alphabets
- cartesian-product
- combination
- combinations
- cross-product
- digit
- digits
- enumerable
- enumerate
- enumerator
- generator
- iterable
- iterator
- View more
This package provides a safe way to generate permutations for a given input array.