| Table of Contents ▸ List of Commands ▸ Reptorian's Commands ▸ rep_rde_permutations | ◀ rep_cartesian_product_list2index | rep_rde_permutation_index2list ▶ |
rep_rde_permutations
Arguments:
- item_0_count,item_1_count,...,(_axis={x,y,z})
Description:
Generate all of the unique permutations of repeated distinct elements of different count as a image.Algorithm is based on the implementation of Narayana Pandita's algorithm by PM 2Ring at stackoverflow.
Implementation of Narayana Pandita's algorithm - https://stackoverflow.com/questions/8306654/finding-all-possible-permutations-of-a-given-string-in-python
Description of Narayana Pandita's algorithm - https://en.wikipedia.org/wiki/Permutation#Generation_in_lexicographic_order
Note: If _axis is not a number of one of the following chars (x,y,z), then it returns product of items_counts.
Author : Reptorian.
Default values:
_axis=x


Home
Download
News
Mastodon
Bluesky
X
Summary - 18 Years
Summary - 17 Years
Summary - 16 Years
Summary - 15 Years
Summary - 13 Years
Summary - 11 Years
Summary - 10 Years
Resources
Technical Reference
Scripting Tutorial
Video Tutorials
Wiki Pages
Image Gallery
Color Presets
Using libgmic
G'MIC Online
Community
Discussion Forum (Pixls.us)
GimpChat
IRC
Report Issue