All Permutations of integers with sum criteria

バージョン 1.5.01.0 (2.69 KB) 作成者: Bruno Luong
All Pernutations of integers with sum criteria
ダウンロード: 4.5K
更新 2020/8/1

ライセンスの表示

This function provides all combinations of integer vector that must verify a criteria on the sum.

Supported criteria is
sum(v) == L1
sum(v) <= L1
sum(v) < L1

引用

Bruno Luong (2024). All Permutations of integers with sum criteria (https://www.mathworks.com/matlabcentral/fileexchange/17818-all-permutations-of-integers-with-sum-criteria), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14SP3
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersPolynomials についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.5.01.0

Fix BUG for AllVL1(1,1) that returns incorrect result

1.5.0.0

+ non-recursive engine

1.2.0.0

Correct a bug when the number of solutions is inquired

1.1.0.0

Possibility to get the number of permutations to check feasibility

1.0.0.0

Add H1 line as suggested by John D'Errico