代码搜索:sparse
找到约 3,324 项符合「sparse」的源代码
代码结果 3,324
www.eeworm.com/read/456193/7355148
m fm_mixed.m
function fm_mixed(flag)
% FM_MIXED defines Mixed Loads
%
% FM_MIXED(FLAG)
% FLAG = 0 initialization
% FLAG = 1 algebraic equations
% FLAG = 2 algebraic Jacobians
% FLAG = 3 di
www.eeworm.com/read/456133/7357216
m wavmat.m
function w = wavmat
%
% Written by Colm Mulcahy (colm@spelman.edu), last
% updated 31st Dec 1996.
%
% constructs the overall wavelet transform matrix
%
s=256;
num
www.eeworm.com/read/455967/7360631
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/452837/7432406
pl maze.pl
% This file contains some test mazes, you can add your own if you like
% Need to group the size facts or Prolog complains
mazeSize(small, 4, 7).
mazeSize(nobarrier, 10, 10).
mazeSize(unsolvable,
www.eeworm.com/read/452837/7432407
pro maze.pro
% This file contains some test mazes, you can add your own if you like
% Need to group the size facts or Prolog complains
mazeSize(small, 4, 7).
mazeSize(nobarrier, 10, 10).
mazeSize(unsolvable,
www.eeworm.com/read/452397/7441319
m fe.m
% FE analysis
function [U]=FE(nelx,nely,x,penal)
[KE]=lk;
K=sparse(2*(nelx+1)*(nely+1),2*(nelx+1)*(nely+1));
F=sparse(2*(nely+1)*(nelx+1),1);U=sparse(2*(nely+1)*(nelx+1),1);
for elx=1:nelx
f
www.eeworm.com/read/452211/7445440
m norml.m
% function x = norml(x,mode)
%
% copyright (c) 1998-2002 by Alexander Strehl
function x = norml(x,mode)
switch mode
case 0,
case 1,
x = diag(sparse(1./sum(abs(x),2))) * x;
case 2,
www.eeworm.com/read/452211/7445445
m clucent.m
% function x = clucent(cpm,cl)
%
% Copyright (c) 1998-2002 by Alexander Strehl
function x = clucent(cpm,cl)
x = sparse(max(cl),size(cpm,2));
for i=1:max(cl)
x(i,:) = mean(cpm(find(cl==i)
www.eeworm.com/read/449504/7502883
m slag.m
function WW = slag(W,p)
% PURPOSE: compute spatial lags
% ---------------------------------------------
% USAGE: Wp = slag(W,p)
% where: W = input spatial weight matrix, sparse or full
% (
www.eeworm.com/read/449504/7502978
m sem2_gmm.m
function results=sem2_gmm(y,x,W1,W2,options)
% PURPOSE: computes Method of Moments Estimates for Spatial Error Model
% using 2 weight matrices
% y = XB + u, u = p1*W1*u + p2*W2