Index finite lists of positive integers: Difference between revisions
Index finite lists of positive integers (view source)
Revision as of 06:06, 31 January 2024
, 3 months ago→Fibonacci-based Encoding
(→{{header|jq}}: Bijective rank/unrank) |
|||
Line 598:
changes would be required if using jaq as jaq does not (as of this writing in 2024) support
the `include` or `module` directives.
===Fibonacci-based
<syntaxhighlight lang="jq">
include "fibonacci" {search: "./"}; # see https://rosettacode.org/wiki/Category:Jq/fibonacci.jq
Line 665:
}
</pre>
===Bijective encoding===
<syntaxhighlight lang="jq">
|