代码搜索:sparse
找到约 3,324 项符合「sparse」的源代码
代码结果 3,324
www.eeworm.com/read/431224/8698018
m gcall.m
function gcall(p)
global DAE
if ~p.n, return, end
V = DAE.y(p.vbus);
V2 = p.u.*V.*V;
DAE.g = DAE.g + ...
sparse(p.bus,1,p.dat(:,1).*V2,DAE.m,1) - ...
sparse(p.vbus,1,p.dat(:,2).*V2
www.eeworm.com/read/431224/8698044
m gycall.m
function Gycall(p)
global DAE
if ~p.n, return, end
V = 2*p.u.*DAE.y(p.vbus);
DAE.Gy = DAE.Gy + ...
sparse(p.bus, p.vbus,p.dat(:,1).*V,DAE.m,DAE.m) - ...
sparse(p.vbus,p.vbus,p
www.eeworm.com/read/431224/8698125
m checkjac.m
numjacs
fm_call('i')
disp(' ')
disp(['Fx abs err = ',num2str(max(max(abs(DAE.Fx-Fx))))])
disp(['Fy abs err = ',num2str(max(max(abs(DAE.Fy-Fy))))])
disp(['Gx abs err = ',num2str(max(max(abs(DAE.Gx-Gx
www.eeworm.com/read/431224/8698137
m fxcall.m
function Fxcall(a)
global DAE
if ~a.n, return, end
xp = DAE.x(a.xp);
xq = DAE.x(a.xq);
V = DAE.y(a.vbus);
Tp = a.con(:,5);
Tq = a.con(:,6);
as = a.con(:,7);
at = a.con(:,8);
bs = a.con(:,9);
bt = a
www.eeworm.com/read/431224/8698142
m gcall.m
function gcall(a)
global DAE
if ~a.n, return, end
V = DAE.y(a.vbus);
xp = DAE.x(a.xp);
xq = DAE.x(a.xq);
Tp = a.con(:,5);
Tq = a.con(:,6);
at = a.con(:,8);
bt = a.con(:,10);
P0 = a.dat(:,1);
Q0 = a
www.eeworm.com/read/431224/8698256
m ybus.m
function y = ybus(a,buslist)
global Bus DAE
nb = Bus.n;
y = sparse(nb,nb);
if ~a.n, return, end
idx = [];
for i = 1:a.n
jdx = find(buslist ~= a.bus(i));
if ~isempty(jdx) & a.u(i), idx = [idx;
www.eeworm.com/read/431224/8698382
m hmatrix.m
function hmatrix(a)
global LA DAE Bus
if ~a.n
LA.h_ps = [];
LA.h_qs = [];
LA.h_is = [];
LA.h_pr = [];
LA.h_qr = [];
LA.h_ir = [];
fm_disp('No transmission line or transform
www.eeworm.com/read/431224/8698431
m fxcall.m
function Fxcall(a)
global DAE Settings
if ~a.n, return, end
V = DAE.y(a.vbus);
P0 = a.u.*a.con(:,2);
Q0 = a.u.*a.con(:,5);
ap = a.con(:,3);
aq = a.con(:,6);
bp = a.con(:,4);
bq = a.con(:,7);
DAE.F
www.eeworm.com/read/431224/8698438
m gcall.m
function gcall(a)
global DAE
if ~a.n, return, end
V = DAE.y(a.vbus);
Dw = domega(a);
DAE.g = DAE.g + sparse(a.bus,1,a.u.*a.con(:,2).*(V.^a.con(:,3)).* ...
(1+Dw).^a.con(:,
www.eeworm.com/read/431224/8698540
m fm_call.m
function fm_call(flag)
%FM_CALL calls component equations
%
%FM_CALL(CASE)
% CASE '1' algebraic equations
% CASE 'pq' load algebraic equations
% CASE '3' differential equations
% CASE '1r' alg