| Table of Contents ▸ List of Commands ▸ Reptorian's Commands ▸ rep_ncr_combination_list2index | ◀ rep_ncr_combination_index2list | rep_r_combinations ▶ |
rep_ncr_combination_list2index
Arguments:
- number_items,position_a...position_n
Description:
Return the lexicographic index in which this ncr combination is found within a list of all possible ncr combination. Code is based off the author's code here - https://stackoverflow.com/questions/14455634/find-the-index-of-a-given-combination-of-natural-numbers-among-those-returnedposition(s) variable(s) must not have repeating number. Order does not matter.


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