代码搜索:sparse
找到约 3,324 项符合「sparse」的源代码
代码结果 3,324
www.eeworm.com/read/384940/8831706
m glcall.m
function Glcall(p)
global DAE
if ~p.n, return, end
DAE.Gl = DAE.Gl - sparse(p.pm,1,p.u.*pmech(p),DAE.m,1);
DAE.Gk = DAE.Gk - sparse(p.pm,1,p.u.*pmech(p),DAE.m,1);
www.eeworm.com/read/384940/8831741
m fxcall.m
function Fxcall(a)
global DAE
if ~a.n, return, end
iTf = 1./a.con(:,2);
iTw = 1./a.con(:,3);
k = a.u.*a.dat(:,2);
DAE.Fx = DAE.Fx + sparse(a.x,a.x,-iTf,DAE.n,DAE.n);
DAE.Fx = DAE.Fx + sparse(a.w,a
www.eeworm.com/read/384940/8831825
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/384940/8831869
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/384940/8831959
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/384940/8831984
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/384940/8831994
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/384940/8832161
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/384940/8832307
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/384940/8832359
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