permn

버전 1.0.0 (1.28 KB) 작성자: Kenneth Johnson
Generate permutations of 1:n and permutation parity.
다운로드 수: 23
업데이트 날짜: 2021/2/23

라이선스 보기

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 (2024). permn (https://www.mathworks.com/matlabcentral/fileexchange/87749-permn), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가
도움

받음: permutationparity

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0