permn

Generate permutations of 1:n and permutation parity.

이 제출물을 팔로우합니다

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://kr.mathworks.com/matlabcentral/fileexchange/87749-permn), MATLAB Central File Exchange. 검색 날짜: .

도움

도움 받은 파일: permutationparity

태그

태그 추가

Add the first tag.

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0