📄 pwadynamics_internal.m
字号:
function [F,vars] = pwadynamics_internal(first_coord,varargin)
% Hack to figure out all the sorted variables, not just this index.
% Sort is implemented in a slighlt different way (general feature in
% future versions) that allows one element in an operator to modell all
% elements. Reduces the number of calls to the operator code.
n = length(varargin{1});
xplus = recover(getvariables(first_coord):getvariables(first_coord)+n-1);
vars = getvariables(xplus);
F = set([]);
for i = 1:(length(varargin)/2)
fi{i} = varargin{2*i-1};
R{i} = varargin{2*i} + set(xplus == fi{i});
F = F + R{i};
end
[F,t] = hull(R{:});F = F + set(binary(t));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -