圖形學消隱實驗,*方案1上下旋轉,只顯示可見面,函數說明:void Project(float X,float Y,float Z) 功能:根據透視或平行投影將三維點進行投影變換 入口參數:float X,float Y,float Z 返回參數:無(void)
上傳時間: 2013-12-22
上傳用戶:liuchee
匯編的PIC程序,包括MOUSE,float,CLOCK,BCD
上傳時間: 2015-08-20
上傳用戶:yoleeson
工程中很多的地方用到龍格庫塔求解微分方程的數值解,龍格庫塔是很重要的一種方法,尤其是四階的,精確度相當的高。此代碼只是演示求一個微分方程,要求解其它的微分方程,可以自己定義借口函數,退換程序里面的函數:float f(float , float)即可;
上傳時間: 2014-01-14
上傳用戶:hphh
液晶顯示,用于液晶驅動,里面有初始化程序,float轉BCD碼顯示等
標簽: 液晶顯示
上傳時間: 2015-09-27
上傳用戶:黑漆漆
顯示數據處理(拆數字).mcu控制LCD顯示數字時的拆數程序,可拆int型整數和float型浮點數,所拆數存放于全局變量 數組中。
上傳時間: 2013-12-27
上傳用戶:kikye
#if !defined(AFX_GAQUEEN_H__C26AE0A3_F9B4_426F_A324_B460CC7946CB__INCLUDED_) #define AFX_GAQUEEN_H__C26AE0A3_F9B4_426F_A324_B460CC7946CB__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CGAQueen { public: CGAQueen(int nPopulation,int nIteration,float Mutation,int mChBoard) virtual ~CGAQueen() void Clear() // to clear chess board with 0 value void InitialPopulation() // to create the first and initial randompopulation void FillArea(int index) // to fill chess board with desired chromosome int CostFunc(int index) // determine the cost of matrix[index][index] void PopulationSort() // to sort population from the best to the worst void GenerateCrossOverMatrix() // a way to create children from parent is CcrossOver void Mating() // to create children from parents void Ap
標簽: AFX_GAQUEEN_H INCLUDED defined define
上傳時間: 2015-12-27
上傳用戶:wuyuying
用遞推法產生正交多項式系,即求alpha[j+1]、beta[j] 入口參數:m是數據點數,n是擬合的最高階數, float x[],float y[]是對應縱橫坐標,出口參數:a[] 是最小二乘擬合參數,alpha[]、beta[]是遞推系數
上傳時間: 2014-01-19
上傳用戶:gyq
* first open client.cpp and search for that USER_MSG_INTERCEPT(TeamInfo) over it u add this Code: USER_MSG_INTERCEPT(Health) { BEGIN_READ(pbuf,iSize) me.iHealth = READ_BYTE() return USER_MSG_CALL(Health) } * then we search for int HookUserMsg (char *szMsgName, pfnUserMsgHook pfn) and add this Code: REDIRECT_MESSAGE( Health ) *k now we have the health registered and can read it out i stop this hear know cuz i must thanks panzer and w00t.nl that they helped me with it first time! *ok now we go to int HUD_Redraw (float x, int y) and packing this draw code in it Code:
標簽: USER_MSG_INTERCEPT TeamInfo client search
上傳時間: 2016-01-22
上傳用戶:ynzfm
gpio驅動 leddrv.c為驅動源程序 writeled.c為應用程序 writeled.c 編譯方式 arm-elf-gcc -Wall -O2 -Wl,-elf2flt -o writeled writeled.c leddrv.c 編譯方式 arm-elf-gcc -D__KERNEL__ -I你的uClinux目錄/linux-2.4.x/include-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-float -DMODULE -c -o leddrv.o leddrv.c
標簽: writeled arm-elf-gcc leddrv gpio
上傳時間: 2013-12-13
上傳用戶:kytqcool
#include <stdio.h> #include<math.h> void pid_init() void pid_tune() void pid_setinteg() void pid_bumpless() float pid_calc() void main()
標簽: void include pid_setinte pid_init
上傳時間: 2016-04-19
上傳用戶:851197153