G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing
Banner Institutions GREYC CNRS ENSICAEN UNICAEN

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 4.0.4 (2026/08/19)

Reference
Table of Contents  ▸  List of Commands  ▸  Reptorian's Commands  ▸  rep_rde_npr_permutation_list2index◀  rep_rde_npr_permutation_index2list    |    rep_rde_compsel_perm  ▶

rep_rde_npr_permutation_list2index

Arguments:

  • selected_count,item_0_count,item_1_count,...,item_id_0,item_id_1

Description:

Return the index which corresponds to the permutation of multiple repeated different elements of different counts given selected items counts being equal or less than  the sum of cardinalities of items.

 
Note: There must be integer arguments in which the cardinality of integer arguments is less than or equal to the sum of cardinalities of items.
 
Author: Reptorian.
G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing

G'MIC is an open-source software distributed under the CeCILL free software licenses (LGPL-like and/or
GPL-compatible). Copyrights (C) Since July 2008, David Tschumperlé - GREYC UMR CNRS 6072, Image Team.