Rank of Permutation

Description:Computes the rank (lexicographic index) of a permutation, or returns a permutation (as a list) given the rank. The rank assumes 1-based lists, i.e. a sorted list has the rank 1. For the HP-48, the maximum length of the permutation list is 14. For the 49 and 50, the length is limited only by memory if used in Exact mode. Requires ListExt on the 49 series.
Filename:rankperm.zip
ID:9499
Author:John Keith
Downloaded file size:3,475 bytes
Size on calculator:1 KB
Platforms:49/50 48  
User rating:Not yet rated (you must be logged in to vote)
Primary category:Math/Numeric
Languages:ENG  
File date:2023-06-26 07:25:46
Creation date:2023-06-26
Source code:Included
Download count:49
Version history:2023-09-24: Added to site
Archive contents:
  Length      Date    Time    Name
---------  ---------- -----   ----
      611  2023-06-26 07:25   RANKPERM.48
      513  2023-06-26 07:25   RANKPERM.49
    12351  2023-06-26 07:25   rankperm.html
---------                     -------
    13475                     3 files
User comments:

No comments at this time.

You must be logged in to add your own comment.


Part of the HP Calculator Archive,
Copyright 1997-2023 Eric Rechlin.