代码搜索:Raspberry Pi
找到约 10,000 项符合「Raspberry Pi」的源代码
代码结果 10,000
www.eeworm.com/read/151104/5686126
c huberror.c
/* $Id$
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright
www.eeworm.com/read/136786/5862603
c huberror.c
/* $Id$
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright
www.eeworm.com/read/478147/6720742
txt 退火tsp.txt
function [f,T]=TSPSA(d,t0,tf)
%TSP问题(货郎担问题,旅行商问题)的模拟退火算法通用malab源程序
% f目标最优值,T最优路线,d距离矩阵,t0初始温度,tf结束温度
[m,n]=size(d);
L=100*n;
t=t0;
pi0=1:n;
min_f=0;
for k=1n-1)
min_f=min_f+d(pi0(k),pi0(k+1)
www.eeworm.com/read/338523/12298810
m attached_part.m
% attached_part.m
% This is a partial program codes appended to the end
% of each OBJECTIVE function file.
% IN : PI
% OUT: PI
% It converts a MIN-finding problem to a MAX-finding one.
% Set MIN
www.eeworm.com/read/126343/14427991
asv trp.asv
%d=[0 10 15 6 2;10 0 8 13 9;15 8 0 20 15;6 13 20 0 5;2 9 15 5 0];
%t0=10;
% tf=0.7;
% [f,T]=trp(d,t0,tf)
function[f,T]=trp(d,t0,tf)0
[m,n]=size(d);
L=100*n;
t=t0;
pi0=1:n;
min_f=0;
for k=1:(
www.eeworm.com/read/126343/14427995
m trp.m
%d=[0 10 15 6 2;10 0 8 13 9;15 8 0 20 15;6 13 20 0 5;2 9 15 5 0];
%t0=10;
% tf=0.7;
% [f,T]=trp(d,t0,tf)
function[f,T]=trp(d,t0,tf)
[m,n]=size(d);
L=100*n;
t=t0;
pi0=1:n;
min_f=0;
for k=1:(n
www.eeworm.com/read/126342/14428007
m trp.m
%trp.m
% d=[0 10 15 6 2;
% 10 0 8 13 9;
% 15 8 0 20 15;
% 6 13 20 0 5;
% 2 9 15 5 0];
% t0=10;
% tf=0.7;
function [f,T]=trp(d,t0,tf)%f为目标函数最优值,T为最优路线,d为距离矩阵
%t0为
www.eeworm.com/read/223937/14611420
h fastinlinefuncs.h
#ifndef _FASTINLINEFUNCS_H_
#define _FASTINLINEFUNCS_H_
#include
/*
fast inline functions
*/
int inline FloatToInt(float *pSrc) {
return _mm_cvttss_si32(_mm_load_ss(pSrc));
};
int i
www.eeworm.com/read/292398/8358510
dat codetc5.dat
break 语句
功能:用来从从循环体内跳出循环体,即提前结束循环,接首执行下面的语句。例如:
for(r=1;r100)break;
printf("%f",tp);
}
形式:break;
说明:break语句不能用于循环
www.eeworm.com/read/292243/8365685
m zixiangguan.m
x=[0:0.1:6*pi];
y=sin(x);
[z,lag]=xcorr(y,'biased')
subplot(2,1,1);stem(x,y,'+')
subplot(2,1,2);stem(lag,z,'+')