現在この提出コンテンツをフォロー中です。
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます
For positive integer n, [p,s] = permn(n) returns all permutations of 1:n as a matrix, size-[factorial(n),n], and also returns the permutation parity s, size-[factorial(n),1]. s(j) is +1 for an even permutation p(j,:), and -1 for an odd permutation.
引用
Kenneth Johnson (2026). permn (https://jp.mathworks.com/matlabcentral/fileexchange/87749-permn), MATLAB Central File Exchange. に取得済み.
謝辞
ヒントを得たファイル: permutationparity
| バージョン | 公開済み | リリース ノート | Action |
|---|---|---|---|
| 1.0.0 |
