代码搜索:sparse

找到约 3,324 项符合「sparse」的源代码

代码结果 3,324
www.eeworm.com/read/431224/8696146

m gycall.m

function Gycall(a) global DAE if ~a.n, return, end DAE.Gy = DAE.Gy - sparse(a.ws,a.ws,1,DAE.m,DAE.m);
www.eeworm.com/read/431224/8696284

m gycall.m

function Gycall(a) global DAE if ~a.n, return, end dipqv = ifield(a,2); DAE.Gy = DAE.Gy ... - sparse(a.If,a.If,1,DAE.m,DAE.m) ... + sparse(a.If,a.p,dipqv(:,1),DAE.m,DAE.m) ...
www.eeworm.com/read/431224/8697038

m gcall.m

function gcall(p) global DAE if ~p.n, return, end DAE.g = DAE.g + sparse(p.vfd,1,DAE.x(p.vf),DAE.m,1); DAE.g = DAE.g + sparse(p.vref,1,p.u.*p.vref0-DAE.y(p.vref),DAE.m,1);
www.eeworm.com/read/431224/8697088

m gycall.m

function Gycall(a) global DAE if ~a.n, return, end DAE.Gy = DAE.Gy - sparse(a.vref,a.vref,1,DAE.m,DAE.m);
www.eeworm.com/read/431224/8697113

m psidx.m

function idx = psidx(a,k) global Bus idx = sparse(a.bus,[1:a.n],k,Bus.n,a.n);
www.eeworm.com/read/431224/8697933

m gycall.m

function gcall(p) global DAE if ~p.n, return, end DAE.Gy = DAE.Gy - sparse(p.wref,p.wref,1,DAE.m,DAE.m);
www.eeworm.com/read/431224/8698178

m gycall.m

function Gycall(a) global DAE if ~a.n, return, end V = DAE.y(a.vbus); at = a.con(:,8); bt = a.con(:,10); P0 = a.dat(:,1); Q0 = a.dat(:,2); V0 = a.dat(:,3); DAE.Gy = DAE.Gy + sparse(a.bus,a.vbus,a
www.eeworm.com/read/431224/8698304

m fjh2.m

function varargout = fjh2(p,type,varargin) % FJH2 compute the square of current, active power and apparent % power flows of transmission lines and the associated % Jacobian and Hessian mat
www.eeworm.com/read/431224/8698371

m build_b.m

function a = build_b(a) % build admittance matrix B' and B" for fast decoupled % power flow algorithm (FDPF) % % see also BUILD_Y and Settings global Bus Settings if ~a.n, return, end nb = Bus.n;
www.eeworm.com/read/386621/8734844

m poisson.m

function [u, energy] = Poisson(mesh, f, g_D, g_N) % POISSON solve the 2-D Poisson equation % -\Delta u = f, % in the current mesh with boundary conditions % u = g_D on the Dirich