代码搜索:sparse
找到约 3,324 项符合「sparse」的源代码
代码结果 3,324
www.eeworm.com/read/384940/8830762
m gams.m
function [n,idx,data] = gams(a,type)
global Bus GAMS Rmpg
n = int2str(a.n);
idx = sparse(a.bus,[1:a.n],1,Bus.n,a.n);
data = [];
if ~a.n, return, end
[Csa,Csb,Csc,Dsa,Dsb,Dsc] = costs(a);
[Psmax,P
www.eeworm.com/read/371250/9560026
icc makefile.icc
#
# Makefile for Sparse Bundle Adjustment demo program
#
CC=icc
CXX=icpc
CFLAGS=-I.. -O3 -tpp7 -xW -march=pentium4 -mcpu=pentium4 -ip -ipo -unroll #-g
OBJS=eucsbademo.o imgproj.o readparams.o
SRCS=euc
www.eeworm.com/read/272513/10954835
cc gather_scatter.cc
#include "mtl/matrix.h"
#include "mtl/mtl.h"
#include "mtl/utils.h"
#include "mtl/dense1D.h"
#include "mtl/compressed1D.h"
#include "mtl/sparse1D.h"
/*
Sample Output
using compressed1D
vector before
www.eeworm.com/read/418304/10955099
m gams.m
function [n,idx,data] = gams(a,type)
global Bus GAMS Rmpg
n = int2str(a.n);
idx = sparse(a.bus,[1:a.n],1,Bus.n,a.n);
data = [];
if ~a.n, return, end
[Csa,Csb,Csc,Dsa,Dsb,Dsc] = costs(a);
[Psmax,P
www.eeworm.com/read/328849/12998579
m genh0.m
function [H]=genH0(rows,cols)
%[H]=genH0(rows,cols)
%对应§2.5.4 完全随机的构造法,但不尝试删除4环
row_flag(1:rows)=0;
parity_check=sparse(rows,cols);
% Set Random number generators initial state
% reset rando
www.eeworm.com/read/140847/5779716
m enter_discrete_evidence_pot.m
function pot = enter_discrete_evidence_pot(pot, Y, y)
%ns = sparse(1, max(pot.domain));
ns = zeros(1, max(pot.domain));
ns(pot.ddom) = pot.dsizes;
ns(pot.cdom) = pot.csizes;
ddom = pot.ddom;
S = pro
www.eeworm.com/read/140847/5779730
m multiply_pots.m
function T = multiply_pots(T1, T2)
% MULTIPLY_POTS Multiply a pair of dpots together pointwise (cpot)
% T = multiply_pots(pots)
dom = myunion(T1.domain, T2.domain);
ns = sparse(1, max(dom));
ns(T1.do
www.eeworm.com/read/133943/5897899
m enter_discrete_evidence_pot.m
function pot = enter_discrete_evidence_pot(pot, Y, y)
%ns = sparse(1, max(pot.domain));
ns = zeros(1, max(pot.domain));
ns(pot.ddom) = pot.dsizes;
ns(pot.cdom) = pot.csizes;
ddom = pot.ddom;
S = pro
www.eeworm.com/read/133943/5897913
m multiply_pots.m
function T = multiply_pots(T1, T2)
% MULTIPLY_POTS Multiply a pair of dpots together pointwise (cpot)
% T = multiply_pots(pots)
dom = myunion(T1.domain, T2.domain);
ns = sparse(1, max(dom));
ns(T1.do
www.eeworm.com/read/487877/6501355
icc makefile.icc
#
# Makefile for Sparse Bundle Adjustment demo program
#
CC=icc
CXX=icpc
CFLAGS=-I.. -O3 -tpp7 -xW -march=pentium4 -mcpu=pentium4 -ip -ipo -unroll #-g
OBJS=eucsbademo.o imgproj.o readparams.o
SRCS=euc