代码搜索:float
找到约 10,000 项符合「float」的源代码
代码结果 10,000
www.eeworm.com/read/239553/7071636
c color_kit.c
/*
NOTE: NOT all these programs are simultaneously useful.
Some of them have more or less the same function.
They are here for test purpose
*/
// -----------------------------------------------
www.eeworm.com/read/239553/7071637
c myfunction.c
// ----------------------------------------------------------------------------- MYFUNCTION
float MyFunction(struct position pos,struct param param, struct model model)
{
float a_1,a_2;
int d,dma
www.eeworm.com/read/239553/7071642
c pso8.c
/*
************** PSO 8.2: An Adaptive Particle Swarm Optimizer ******************************
Maurice.Clerc@WriteMe.com 2001-10-06 (ANSI C)
What's new since?
(done) save data and
www.eeworm.com/read/242081/7073161
cpp 2109.cpp
/*2109*/
#include
int print(int m,int n)
{
int a[n][2],i,j,w,sum0=0,sum=0;
float b[n],max,res=0;
for(i=0;i
www.eeworm.com/read/172061/7074886
c jm98b.c
/*
98年全国大学生数学建模竞赛B题"水灾巡视问题"模拟退火算法。
这是一个推销员问题,本题有53个点,所有可能性大约为exp(53),目前没有好方法求出精确解,既然求不出精确解,我们使用模拟退火法求出一个较优解,将所有结点编号为1到53,1到53的排列就是系统的结构,结构的变化规则是:从1到53的排列中随机选取一个子排列,将其反转或将其移至另一处,能量E自然是路径总长度。具体算法描述如下: ...
www.eeworm.com/read/129161/7077762
cpp demodoc.cpp
// demoDoc.cpp : implementation of the CDemoDoc class
//
#include "stdafx.h"
#include "demo.h"
#include "demoDoc.h"
#include "cimage.h"
#include
#ifdef _DEBUG
#define new DEBUG_
www.eeworm.com/read/411330/7083286
lagrange
Lagrange插值2007-07-16 18:36#include
#include
using namespace std;
#define N 5 //以五点为例
void main()
{
int i,j,k;
float l[N],t;
float result=0,w1,w2;
float x[N],y[N];
www.eeworm.com/read/447152/7090120
c aliasing.c
//Aliasing.c illustration of downsampling, aliasing, upsampling
#include "lp33.cof" //lowpass at 1.8 kHz
short flag = 0; //toggles for 2x down-sampling
float indly[
www.eeworm.com/read/351913/7093754
cpp stopwatch.cpp
/******************************************************************************\
Copyright 2005 The University of North Carolina at Chapel Hill.
All Rights Reserved.
Permission to use, co
www.eeworm.com/read/117552/7099874
cpp controlwnd.cpp
// ControlWnd.cpp : implementation file
//
#include "stdafx.h"
#include "Smooth.h"
#include
#include "ControlWnd.h"
#include "LogCurve.h"
#include "DlgInput.h"
#include "DlgSelCur