代码搜索:sparse
找到约 3,324 项符合「sparse」的源代码
代码结果 3,324
www.eeworm.com/read/160391/5571784
m enter_cts_evidence_pot.m
function pot = enter_cts_evidence_pot(pot, Y, y)
% function pot = enter_cts_evidence_pot(pot, Y, y) (cpot)
ns = sparse(1, max(pot.domain));
ns(pot.domain) = pot.sizes;
X = mysetdiff(pot.domain
www.eeworm.com/read/160391/5571785
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
www.eeworm.com/read/295225/8179775
m genh1.m
function [H]=genH1(rows,cols)
%[H]=genH1(rows,cols)
%对应§2.5.4 完全随机的构造法
row_flag(1:rows)=0;
parity_check=sparse(rows,cols);
% Set Random number generators initial state
% reset random number
www.eeworm.com/read/193277/8241795
m parameterizedw.m
function W = parameterizedW(G,H,x)
ng = size(G,1);
mg = size(H,2);
K = full(sparse(1:ng*mg,reshape(reshape(1:ng*mg,ng,mg)',ng*mg,1),1));
x = recover(depends(H));
n = length(x);
Hbase = get
www.eeworm.com/read/132656/14081960
c svmpredict.c
#include
#include
#include
#include "svm.h"
#include "mex.h"
#include "svm_model_matlab.h"
#define CMD_LEN 2048
void read_sparse_instance(const mxArray *prhs, int in
www.eeworm.com/read/200573/15430358
c svmpredict.c
#include
#include
#include
#include "svm.h"
#include "mex.h"
#include "svm_model_matlab.h"
#define CMD_LEN 2048
void read_sparse_instance(const mxArray *prhs, int in
www.eeworm.com/read/431224/8695436
m gams.m
function [n,idx,data] = gams(a)
global Bus GAMS
n = int2str(a.n);
idx = sparse(a.bus,[1:a.n],1,Bus.n,a.n);
data = [];
if ~a.n, return, end
tgphi = tanphi(a);
[Cda,Cdb,Cdc,Dda,Ddb,Ddc] = costs(a);
www.eeworm.com/read/384940/8828756
m gams.m
function [n,idx,data] = gams(a)
global Bus GAMS
n = int2str(a.n);
idx = sparse(a.bus,[1:a.n],1,Bus.n,a.n);
data = [];
if ~a.n, return, end
tgphi = tanphi(a);
[Cda,Cdb,Cdc,Dda,Ddb,Ddc] = costs(a);
www.eeworm.com/read/378188/9242388
makeframe
#
# --- Makefile for parallel regular banded sparse linear system solve
# (OpenMP version).
OBJECTS = numerics.o ranmod.o fltimod.o \
mod2cr.o checkreg.o cg.o dotpr.o dran0.o nrm2.o
www.eeworm.com/read/378188/9242439
makeframe
#
# Makefile for parallel sparse matrix-vector multiply (OpenMP version).
OBJECTS = numerics.o ranmod.o mod2as.o check.o getmatvec.o spmxv.o \
state.o cclock.o wclock.o
EXEC = x.mod