代码搜索:Sparse
找到约 3,324 项符合「Sparse」的源代码
代码结果 3,324
www.eeworm.com/read/349646/10809772
m mysymsetdiff.m
function C = mysymsetdiff(A,B)
% MYSYMSETDIFF Symmetric set difference of two sets of positive integers (much faster than built-in setdiff)
% C = mysetdiff(A,B)
% C = (A\B) union (B\A) = { things t
www.eeworm.com/read/275202/10829217
m demorubik.m
function DEMOrubik(sparse)
% Plot the two faithful representations for the
% subgroup of the 2x2x2 Rubik's cube dealing with
% 180-degree turns.
if nargin == 0
sparse = 0;
end
disp('|');
disp('| RUB
www.eeworm.com/read/275163/10833950
c prepare.c
/*
** 2005 May 25
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness fo
www.eeworm.com/read/419792/10838380
m bianxishu.m
%本程序是为了求解变系数奇异问题的四次样条函数方法,其精度能达到六阶,是目前最好结果!
clear
format long
e=1/10^4;
h=1/512;
nh=1/h;
y(1)=0;
y(nh+1)=0;
for i=1:nh+1
x=(i-1)*h;
% f(i)=-40*(x*(x^2-1)-2*e);
f(i)=1+x*(1-x)+(2
www.eeworm.com/read/418304/10954373
m fm_pl.m
function fm_pl(flag)
% FM_PL define Polinomial Loads
%
% FM_PL(FLAG)
% FLAG -> 0 initialization
% FLAG -> 1 algebraic equations
% FLAG -> 2 algebraic Jacobians
%
%Author: Federico
www.eeworm.com/read/418304/10954379
m fm_jimma.m
function fm_jimma(flag)
% FM_JIMMA defines Mixed Loads
%
% FM_JIMMA(FLAG)
% FLAG = 0 initialization
% FLAG = 1 algebraic equations
% FLAG = 2 algebraic Jacobians
% FLAG = 3 di
www.eeworm.com/read/418304/10954383
m fm_y.m
function fm_y
%FM_Y build admittance matrix
%
%FM_Y
%
%see also FM_LF and DAE, Bus and Line structures
%
%Author: Federico Milano
%Date: 11-Nov-2002
%Version: 1.0.0
%
%E-mail: fmilano@thu
www.eeworm.com/read/418304/10954385
m fex_nrloop.m
function fex_nrloop(tol,itermax)
% FEX_NRLOOP -> called by FEX_ABCD
% Perform Newton Raphson for non linear algebraic equation
% solution
%
% Author: Alberto Del Rosso
% Date: June 2004
% Update:
www.eeworm.com/read/418304/10954399
m fxcall.m
function Fxcall(a)
global DAE Bus Pod Cluster
if ~a.n, return, end
V = DAE.V(a.bus);
if ~isempty(a.ty1)
bcv = DAE.x(a.bcv);
Tr = a.con(a.ty1,6);
Kr = a.con(a.ty1,7);
bcv_max = a.con(a.ty1,
www.eeworm.com/read/418304/10954401
m gcall.m
function gcall(a)
global Bus DAE
if ~a.n, return, end
V = DAE.V(a.bus);
B = bsvc(a);
DAE.gq = DAE.gq + sparse(a.bus,1,-B.*V.*V,Bus.n,1);