代码搜索:sparse
找到约 3,324 项符合「sparse」的源代码
代码结果 3,324
www.eeworm.com/read/457216/1599768
c mexfwblkslv.c
/*
y = fwblkslv(L,b, [y])
Given block sparse Cholesky structure L, as generated by
SPARCHOL, this solves the equation "L.L * y = b(L.perm,:)",
i.e. y = L.L\b(L.perm,:). The diagonal of
www.eeworm.com/read/346982/3179179
cc test.cc
#include "scv.h"
#include "packet.h"
SC_MODULE(sctop) {
SC_CTOR(sctop);
};
// nbcode "decl" start
sctop::sctop(sc_module_name name) : sc_module(name)
{
// Create a sparse packet array
packetT
www.eeworm.com/read/303463/3810213
m fixer.m
function [upper1,x_min] = fixer(p,output);
x = output.Primal;
integer = uniquestripped([p.binary_variables p.integer_variables]);
n = length(integer);
Fnew = [round(x(integer)) -sparse(1:n,int
www.eeworm.com/read/429117/1951856
cc test.cc
#include "scv.h"
#include "packet.h"
SC_MODULE(sctop) {
SC_CTOR(sctop);
};
// nbcode "decl" start
sctop::sctop(sc_module_name name) : sc_module(name)
{
// Create a sparse packet array
packetT
www.eeworm.com/read/393395/2474571
c fwblkslv.c
/*
y = fwblkslv(L,b, [y])
Given block sparse Cholesky structure L, as generated by
SPARCHOL, this solves the equation "L.L * y = b(L.perm,:)",
i.e. y = L.L\b(L.perm,:). The diagonal
www.eeworm.com/read/373026/2767701
c mexfwblkslv.c
/*
y = fwblkslv(L,b, [y])
Given block sparse Cholesky structure L, as generated by
SPARCHOL, this solves the equation "L.L * y = b(L.perm,:)",
i.e. y = L.L\b(L.perm,:). The diagonal of
www.eeworm.com/read/193277/8241968
m fixer.m
function [upper1,x_min] = fixer(p,output);
x = output.Primal;
integer = uniquestripped([p.binary_variables p.integer_variables]);
n = length(integer);
Fnew = [round(x(integer)) -sparse(1:n,int
www.eeworm.com/read/205036/15328886
m subsasgn.m
function t = subsasgn(t,s,rhs)
%SUBSASGN Subscripted assignment for sparse tensor.
%
% We can assign elements to a sptensor in three ways.
%
% Case 1: X(R1,R2,...,RN) = Y, in which case we replace
www.eeworm.com/read/200886/15420770
m getjacobpattern.m
function pattern = getJacobPattern(G)
pattern = sparse(G.numTaus,G.numClass);
for cc=1:G.numClass
for jj=1:G.numTaus
myInd = (cc-1)*G.numTaus + jj;
fullInd=[myInd];
if (jj>1)
ful
www.eeworm.com/read/200429/15433480
m edge_index_example.m
load ../graphs/bfs_example.mat
[i,j,val] = find(A);
% assign a randon number to each edge in the graph
edge_rand = rand(num_edges(A),1);
Av = sparse(i,j,edge_rand, size(A,1), size(A,2));