combination

組み合わせ nCr

val = combination(n, r)

(プラグイン / モジュール : iron_combinatorics.hsp)

解説

n 個から r 個を選ぶ組み合わせ数を返します。

関連項目

permutation順列 nPr(iron_combinatorics.hsp)

サンプル逆引き (1)

sample_combinatorics.hsp

情報

プラグイン / モジュールiron_combinatorics.hsp
バージョン3.8
作成日2026/04/17
著作者IronHSP
URLhttps://github.com/inovia/IronHSP
備考Pure HSP
タイプ拡張命令
グループ数学
対応環境
  • その他 : Win32 / Win64
hs ファイルhsphelp\iron_combinatorics.hs