代码搜索:sparse
找到约 3,324 项符合「sparse」的源代码
代码结果 3,324
www.eeworm.com/read/135470/13927368
mat acpos24sparse10.mat
www.eeworm.com/read/135470/13927380
mat ac10-7sparse.mat
www.eeworm.com/read/237004/13981592
cc rank_1_symm_sparse.cc
#include "mtl/matrix.h"
#include "mtl/mtl.h"
#include "mtl/utils.h"
#include "mtl/linalg_vec.h"
/*
Expected output:
Matrix A:
3x3
[
[100,200,300],
[200,400,500],
[300,500,600]
]
Vector X:
[1,2,
www.eeworm.com/read/237004/13981612
cc symm_sparse_vec_prod.cc
#include "mtl/matrix.h"
#include "mtl/mtl.h"
#include "mtl/utils.h"
#include "mtl/linalg_vec.h"
/*
Sample output
A =
5x5
[
[1,2,0,0,0],
[2,3,4,0,0],
[0,4,5,6,0],
[0,0,6,7,8],
[0,0,0,8,9]
]
x =
[1,2
www.eeworm.com/read/456209/7353873
sci spdiags.sci
function A = spdiags(x, u, n,n)
// Sparse diagonal matrix
A = make_sparse(1:n,1:n,x);
endfunction
www.eeworm.com/read/284304/8947788
txt 04-28.txt
% An example of the function sparse
A=ceil(rand(10,3)*10);
i=A(:,1);
j=A(:,2);
s=A(:,3);
X=diag(s)
S=sparse(X)
S1=sparse(i,j,s)
>> eg_sparse
www.eeworm.com/read/357617/10204926
txt 04-321.txt
% An example of the function sparse
A=ceil(rand(10,3)*10);
i=A(:,1);
j=A(:,2);
s=A(:,3);
X=diag(s)
S=sparse(X)
S1=sparse(i,j,s)
>> eg_sparse