precompute_symmmd.m.txt
来自「这是马尔可夫-蒙特卡罗算法的MATLAB源程序.」· 文本 代码 · 共 12 行
TXT
12 行
function [p,r] = precompute_symmmd(d);
% Precompute permutation vector for reduced nodal matrix to give
% minimum bandwidth.
% Taken from EIT code
% Colin Fox, 23 Nov 2004.
% Colin Fox, 1 Sep 2005 to use symamd (Matlab7) instead of obsolete symmmd
SR = RedNodalMat(d.trueDR,d.RefNode); % form the reduced nodal matrix, getting mesh topology from d
p = symamd(SR); % this is a MatLab function
r(p) = 1:max(size(p));
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?