代码搜索:LED Matrix
找到约 10,000 项符合「LED Matrix」的源代码
代码结果 10,000
www.eeworm.com/read/387240/8698397
c reduce-user-matrix.c
#include "mpi.h" /*MPI head file*/
#include
/* the user-defined function */
#define LEN 5
void myProd( double *in, double *inout, int *len, MPI_Datatype *dptr )
{
www.eeworm.com/read/386625/8734431
asv get_matrix_fem.asv
function get_matrix_fem(nx,ny)
gauss = [-1/sqrt(3), 1/sqrt(3)]; % Gaussian quadrature point
% construct Q1 mesh
[x,y,conn,ne,np] = getQ1mesh(nx,ny);
Ag = zeros(np);
bg=zeros(np,1);
nloc = 4; % n
www.eeworm.com/read/386625/8734547
m get_matrix_fem.m
%== nx,ny is numbers of elements in two directions respectively =========
%
function [x,y,Ag,N,bg]=get_matrix_fem(nx,ny)
N = (nx+1)*(ny+1);
gauss = [-1/sqrt(3), 1/sqrt(3)]; % Gaussian quadrature p
www.eeworm.com/read/428507/8862817
wks matrix_12-7.wks
www.eeworm.com/read/428353/8875511
c matrix_mult_master.c
#include
#include
#include
#define NPROC 4
main(){
int mtid,wtid[NPROC],mtype,nrowa,ncola,ncolb,rows,averow,extra,offset,retcode,i,j,ind,nelements;
int *a,*b,*c;
char
www.eeworm.com/read/428353/8875513
c matrix_mult_slave.c
#include
#include
#include
main(){
int rows,ncola,ncolb,mtype,mtid,stid,retcode,*a,*b,*c,nelements,i,j,k;
FILE *fp;
mtype = 1;
if ((fp = fopen("matrix.log", "w"
www.eeworm.com/read/428048/8900368
m form_ref_matrix.m
function p=form_ref_matrix(P)
if P==1
a=[-1 1];
b=a;
elseif P==2
bits_in=[1 0 1 1 0 1 0 0];
full_len=length(bits_in);
% Angle [pi/4 3*pi/4 -3*pi/4 -pi/4] corresponds to
www.eeworm.com/read/427909/8913089
m matrix_t_pdf.m
function p = matrix_T_pdf(A, M, V, K, n)
% MATRIX_T_PDF Evaluate the density of a matrix under a Matrix-T distribution
% p = matrix_T_pdf(A, M, V, K, n)
% See "Bayesian Linear Regression", T. Min
www.eeworm.com/read/427909/8913118
m matrix_normal_pdf.m
www.eeworm.com/read/427909/8913341
m partition_matrix_vec.m
function [m1, m2, K11, K12, K21, K22] = partition_matrix_vec(m, K, n1, n2, bs)
% PARTITION_MATRIX_VEC Partition a vector and matrix into blocks.
% [m1, m2, K11, K12, K21, K22] = partition_matrix_vec