代码搜索:Sparse
找到约 3,324 项符合「Sparse」的源代码
代码结果 3,324
www.eeworm.com/read/147186/12579067
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/147092/12587193
c dec.c
/* DEC.C - Decoding procedures. */
/* Copyright (c) 2000, 2001 by Radford M. Neal
*
* Permission is granted for anyone to copy, use, or modify this program
* for purposes of research or edu
www.eeworm.com/read/146713/12616748
readme
This file contains some of the datasets that were used in CLUTO's manual
to illustrate the various algorithms. A brief description of them is
as follows:
genes1.mat => Microarray gene express
www.eeworm.com/read/247651/12637983
m sparfull.m
n=1000;
b=[1:n]';
a1=sparse(1:n,1:n,1,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);
tic;
eig(a);
t3=toc
ti
www.eeworm.com/read/146520/12641021
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/134443/13990516
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/205036/15328893
m ne.m
function z = ne(x,y)
%NE Not equal (~=) for sptensors.
%
% A ~= B compares the elements of A and B for equality. The arguments can
% be a pair of sptensors, an sptensor and a tensor, or an sptenso
www.eeworm.com/read/205036/15328896
m rdivide.m
function C = rdivide(A,B)
%RDIVIDE Array right division for sparse tensors.
%
% RDIVIDE(A,B) is called for the syntax 'A ./ B' when A or B is a sparse
% tensor. A and B must have the same size, un
www.eeworm.com/read/202203/15389501
m sparfull.m
n=1000;
b=[1:n]';
a1=sparse(1:n,1:n,1,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);
tic;
eig(a);
t3=toc
ti
www.eeworm.com/read/200886/15420901
m getscalejump.m
% function scaleJumpMats = getScaleJump(G)
%
% get the matrix that is an indicator that shows which states
% jump from one scale to a neighbouring scale (ignoring boundary
% states), and stays at the