搜索资源列表
遗传算法SGA
- 包含一个cpp文件,含有main()函数! 主要函数如下 void InitData(); int Flip(float probabiliby); float Random(); //generate a pseudorandom integer from 0 to 1 void ResetRandom(); //reset pseudorandom integer array fRand float ObjFunc(float vx); float DeC
用D3D模拟地月系
- 一、建立空窗体 新建一个工程,添加引用,并导入名称空间。 加入一个设备对象变量: private Microsoft.DirectX.Direct3D.Device device = null; 添加初始化图形函数,并在这里面对设备对象进行实例化: public void InitializeGraphics() { PresentParameters presentParams = new PresentParam
SOA Cloth Simulation with 256-bit Intel Advanced Vector Extensions (Intel AVX)
- This article describes a code sample that uses the Intel® Advanced Vector Extensions (Intel® AVX) for computing mesh-based cloth simulation. A structure of arrays (SOA) implementation is used to maximize data parallelism enabling the usage of 256-bit
C++程序设计语言实验三
- 实验三:C++编程入门 一、实验内容 1. 类模版。 2. 运算符重载。 3. 友元。 4. 继承。 二、实验题目 1, 设计一个类SavingsAccount,定义一个静态数据成员记录存款的年利率(rate),该类的每个成员都包含一个私有的数据成员balance,表示该成员当前的存款数额。提供一个成员函数CalMonthlyInterest(),用以计算月利息(用balance乘以rate再除以12),并将这个月利息加入balance中。提供一个静态成员函数ModifyRate(
caculator
- // caculator.cpp : Defines the entry point for the console application. // #include #include #include #include #include char e; int main(int argc, char *argv[]) { do { float a,c,d; char b; printf("input first number\n"); scanf("%f"
c++文件源码e1_2.cpp
- //e1_3.cpp #include float area(float r) //定义求半径为r的圆的面积的函数area { return 3.14159f * r * r; } void main() { float r; //定义浮点型变量r,用于存放圆的半径 cout<>r; //从键盘上输入圆的半径送给变量r cout<<"半径为"<<r<<"的圆的面积="<<area(r)<&
lm4f_ucos2.86
- 基于TICortex-M4 ucosII不支持float运算
android中很好的浮动搜索框例子
- android中使用的自认为最完整的一个很好的浮动搜索框例子,-ithink it is a very good Float SearchBox Demo in android
CORDIC算法快速求反正切
- CORDIC算法快速求反正切,迭代10次输出弧度误差<|0.002|,迭代15次输出弧度误差<|0.0001|,对电机矢量算法计算速度要求高非常有用;myarctan_cordic1.c输入输出为float,myarctan_cordic3.c输入输出为int,pdf文件为CORDIC算法原理。-CORDIC algorithm quickly find tangent, curvature of the output error iteration 10 < | 0.002
dattransf.rar
- 基于VHDL的10位定点数转浮点数模块源代码,可综合,VHDL-based set of 10 points to float the source code modules can be integrated
pigAndWolf.rar
- 用J2ME写的手机游戏,很好玩的。 进入游戏界面后,用导航键 的上键和下键控制小猪的上下移动,导航键的确定键(fire) 控制箭的发射;狼从屏幕左下向右走,随即一个地点向上飘,猪射气球,射中狼有20%能射中,80%搁挡。射中狼或气球,狼下落,得分。 悬崖上有3只狼就能推动石头,7只狼就可以将石头推下,砸到小猪,小猪必须在狼向上飘的时候,将狼射下… ,Written by using J2ME mobile phone games, very fun. After entering the
ffmpeg-symbian.rar
- FFMpeg Libraries for Symbian OS,FFMpeg Libraries for Symbian OS
main.rar
- 本人用STC12LE5202AD做过的太阳能草坪灯LED充放电控制器,具有浮充,过充,过放,光控+时控等功能, 实际应用良好,希望大家多多指导。,I am done with STC12LE5202AD solar lawn lamp LED charge and discharge controller, with a float, over charge, over discharge, light control+ time control and other functions, th
float2HEX.rar
- 实现浮点数和在计算机的十六进制之间的转换,方便用户输入十六进制给单片机,利用单片机进行强制转换,conver float to HEX
YCbCr2RGB
- 浮点数算法 ycbcr格式转换成rgb格式-float convert ycbcr to rgb
php_ser_5.2.0-5.2.17
- php实现RS232串口通信 下载php_ser_5.2.0.zip 解冻把php_ser放到ext目录下, php.ini里加上: extension=php_ser.dll PHP code string ser_version( void ) void ser_open( string port, int baudrate, int databits, string parity, float stopbits, string flowcontrol )
MAX-AND-MIN
- 输出各种数据类型的最大值、最小值。包括整形,长整形,浮点型等等。-output max and min,for example int,long.float,double and so on.
IEEE754.rar
- ieee754转成十进制浮点数,ieee754转成十进制浮点数,ieee754转成十进制浮点数,,ieee754 to float
float
- 符合IEEE754标准的16进制转浮点数代码-IEEE754-compliant floating-point standard hex code switch