代码搜索:sparse
找到约 3,324 项符合「sparse」的源代码
代码结果 3,324
www.eeworm.com/read/384940/8832288
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/283939/8978378
m shiyan54.m
n=100;b=[1:n]';
a1=sparse(1:n,1:n,4,n,n);
a2=sparse(2:n,1:n-1,1,n,n);
a=a1+a2+a2';
tic;x=a\b;t1=toc
aa=full(a);
tic;xx=aa\b;t2=toc
y=sum(x)
yy=sum(xx)
www.eeworm.com/read/365527/9858823
m exa2_42.m
A=[2 1 4 5 3];
I=speye(5,5);
P=I(A,:);
nnz(P) %求非零元素个数
nonzeros(P)
[i,j,s]=find(P)
[m,n]=size(P) %求维数
P=sparse(i,j,s,
www.eeworm.com/read/279380/10442819
m dmassf_dm.m
function[S,Sx,Sy,Sz] = dMassf_dm(u,dx,dy,dz)
% [S,Sx,Sy,Sz] = dMassf_dm(u,dx,dy,dz)
% Differentiate the face matrix
% creates the a matrix containing the derivative of the face matrix (massf)
% u
www.eeworm.com/read/279380/10442821
m massf.m
function[S,Sx,Sy,Sz] = massf(s,dx,dy,dz)
% [S] = massf(s,dx,dy,dz)
%Creates a diagonal matrix that contains the harmonically averaged
%conductivity values of the faces of each cell
% s - resistivi
www.eeworm.com/read/161095/10452155
m babble.m
% BABBLE Set the sparse monitor flag to very verbose.
spparms('spumoni', 2);
www.eeworm.com/read/161095/10452225
m burble.m
% BURBLE Set the sparse monitor flag to extremely verbose.
spparms('spumoni', 3);
www.eeworm.com/read/421666/10713510
h glpspm.h
/* glpspm.h (general sparse matrix) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
*
* Copyright (C) 2000,01,0
www.eeworm.com/read/421666/10713933
c glpios04.c
/* glpios04.c */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
*
* Copyright (C) 2000,01,02,03,04,05,06,07,08,20
www.eeworm.com/read/418304/10954394
m fm_b.m
function fm_b
% FM_B build admittance matrix B' and B" for fast decoupled
% power flow solution (FDPF)
%
% FM_B
%
%see also FM_Y and Settings
%
%Author: Federico Milano
%Date: 11-Nov-2002