reverse_permutation.m

来自「matlab的工具箱」· M 代码 · 共 9 行

M
9
字号
function y = reverse_permutation(x)

% reverse_permutation - compute the inverse of a permutation
% 
%   y = reverse_permutation(x);
%
%   x is a vector of size n containing the value {1,...,n} in any order.
%
%   Copyright (c) 2004 Gabriel Peyr

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?