| Table of Contents ▸ List of Commands ▸ Reptorian's Commands ▸ rep_string_permutations | ◀ rep_total_sum_combination_list2index | rep_string_permutation_index2str ▶ |
rep_string_permutations
Arguments:
- string,_axis,_sort_string={ 0=do_not_sort_string | 1=sort_string | 2=logical_sort_string }
Description:
Return all the unique permutations of characters of string as a image with values representing the unicode representation of characters in input string. Permutations is dependent on character appearance order.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
Author : Reptorian.
Default values:
_axis=x,_sort_string=0


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