代码搜索:sparse
找到约 3,324 项符合「sparse」的源代码
代码结果 3,324
www.eeworm.com/read/133952/5896795
m simul.m
% Script file: simul.m
%
% Purpose:
% This program solves a system of 8 linear equations in 8
% unknowns (a*x = b), using both full and sparse matrices.
%
% Record of revisions:
%
www.eeworm.com/read/486201/6538057
asv discretisationeigenvectordata.asv
function Y = discretisationEigenVectorData(EigenVector)
%
% Timothee Cour, Stella Yu, Jianbo Shi, 2004
[n,k]=size(EigenVector);
[Maximum,J]=max(EigenVector');
Y=sparse(1:n,J',1,n,k);
www.eeworm.com/read/481567/6643625
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/478650/6712657
m ex0220.m
%产生稀疏矩阵并转变为全元素矩阵,得出的稀疏矩阵分布图
a=eye(3);
a(4,:)=[-5 -2 -3]
b=sparse(a) %创建稀疏矩阵
b=sparse([1 4 2 4 3 4],[1 1 2 2 3 3],[1 -5 1 -2 1 -3]) %创建与b相同的稀疏矩阵
full(b)
D=[3 2 9;2 4 9;1 1 4]
d=[0 1 2]
s=spdia
www.eeworm.com/read/410889/11265866
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/263959/11335462
m simul.m
% Script file: simul.m
%
% Purpose:
% This program solves a system of 8 linear equations in 8
% unknowns (a*x = b), using both full and sparse matrices.
%
% Record of revisions:
%
www.eeworm.com/read/263959/11335513
m simul.m
% Script file: simul.m
%
% Purpose:
% This program solves a system of 8 linear equations in 8
% unknowns (a*x = b), using both full and sparse matrices.
%
% Record of revisions:
%
www.eeworm.com/read/263516/11358309
m fxcall.m
function Fxcall(a)
global DAE Bus Pod
if ~a.n, return, end
bus1 = a.bus1;
bus2 = a.bus2;
V1 = DAE.V(bus1);
V2 = DAE.V(bus2);
a1 = DAE.a(bus1);
a2 = DAE.a(bus2);
vp = DAE.x(a.vp);
vq
www.eeworm.com/read/263516/11358311
m gcall.m
function a = gcall(a)
global Bus DAE
if ~a.n, return, end
V1 = DAE.V(a.bus1);
V2 = DAE.V(a.bus2);
a1 = DAE.a(a.bus1);
a2 = DAE.a(a.bus2);
vp = DAE.x(a.vp);
vq = DAE.x(a.vq);
iq = DAE.
www.eeworm.com/read/263516/11358343
m fxcall.m
function Fxcall(a)
global DAE Bus
if ~a.n, return, end
iTf = 1./a.con(:,5);
Kv = a.con(:,12);
DAE.Fx = DAE.Fx + sparse(a.x,a.x,-iTf,DAE.n,DAE.n);
DAE.Fy = DAE.Fy + sparse(a.x,a.bus+Bus.n