代码搜索:remove
找到约 10,000 项符合「remove」的源代码
代码结果 10,000
www.eeworm.com/read/263516/11358383
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
for i = 1:length(idx)
jdx = find(a.pod == idx(i));
if jdx, a.pod(jdx) = []; end
end
a.con(idx,:) = [];
a.
www.eeworm.com/read/263516/11358420
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
for i = 1:length(idx)
jdx = find(a.ty1 == idx(i));
if jdx
a.ty1(jdx) = [];
a.bcv(jdx,:) = [];
end
www.eeworm.com/read/263516/11358461
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
a.con(idx,:) = [];
a.line(idx) = [];
a.bus1(idx) = [];
a.bus2(idx) = [];
a.n = a.n - length(idx);
a.y(idx) = []
www.eeworm.com/read/263516/11358525
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
a.con(idx,:) = [];
a.bus(idx) = [];
a.n = a.n - length(idx);
www.eeworm.com/read/263516/11358824
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
a.con(idx,:) = [];
a.bus(idx) = [];
a.n = a.n - length(idx);
a.x(idx) = [];
a.y(idx) = [];
a.dat(idx,:) = [];
www.eeworm.com/read/263516/11359107
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
a.con(idx,:) = [];
a.bus(idx) = [];
a.n = a.n - length(idx);
www.eeworm.com/read/263516/11359319
m remove.m
function a = remove(a,k)
global DAE
if ~a.n, return, end
if isempty(k), return, end
if ~isempty(DAE.Gk)
DAE.Gk(a.bus(k)) = 0;
end
a.con(k,:) = [];
a.bus(k) = [];
a.pq(k) = [];
a.qg(k
www.eeworm.com/read/263516/11359461
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
for i = 1:length(idx)
jdx = find(a.ty1 == idx(i));
if jdx
a.ty1(jdx) = [];
a.tg1(jdx) = [];
a.
www.eeworm.com/read/263516/11359514
m remove.m
function a = remove(a,idx,flag)
if ~a.n, return, end
if isempty(idx), return, end
switch flag
case 'zero'
ii = find(a.con(idx,4) == 0 & a.con(idx,5) == 0);
k = idx(ii);
case 'force'
www.eeworm.com/read/263516/11359574
m remove.m
function a = remove(a,idx)
if ~a.n, return, end
if isempty(idx), return, end
a.con(idx,:) = [];
a.bus(idx) = [];
a.n = a.n - length(idx);
a.x(idx) = [];
a.Dw(idx) = [];
a.a0(idx) = [];