private double PointToAngle(Point AOrigin, Point APoint) { if (APoint.X == AOrigin.X) if (APoint.Y > AOrigin.Y) return Math.PI * 0.5f else return Math.PI * 1.5f else if (APoint.Y == AOrigin.Y) if (APoint.X > AOrigin.X) return 0 else return Math.PI else {
標(biāo)簽: AOrigin APoint Point PointToAngle
上傳時(shí)間: 2013-12-18
上傳用戶:rocketrevenge
lena圖像的分解將規(guī)范化后的圖像的數(shù)據(jù)格式由適合顯示圖像的uint8格式轉(zhuǎn)換為適合數(shù)值處理的double格式,再調(diào)用二維小波分解函數(shù)進(jìn)行圖像分解,最后為了清晰地顯示分解圖像的塔式結(jié)構(gòu),在圖像的相應(yīng)區(qū)域繪制若干分界線。
標(biāo)簽: double uint8 lena 圖像
上傳時(shí)間: 2016-10-31
上傳用戶:kristycreasy
double corner_pt[3]={10,10,10} char * edge_len[3]={"30","20","10"} tag_t blk_tag UF_MODL_create_block1(UF_NULLSIGN,corner_pt, edge_len,&blk_tag)
標(biāo)簽: 10 corner_pt edge_len blk_tag
上傳時(shí)間: 2016-12-19
上傳用戶:chenbhdt
對(duì)double型的向int型轉(zhuǎn)換的出錯(cuò)問(wèn)題的校正
標(biāo)簽: double int 轉(zhuǎn)換 校正
上傳時(shí)間: 2014-01-10
上傳用戶:秦莞爾w
除零異常和捕獲三種類型異常,int,char,double類型的異常.
上傳時(shí)間: 2017-01-15
上傳用戶:515414293
public class CircleMenuCanvas extends Canvas implements Runnable{ double pi = Math.PI public final int MENURIGHT = 1 public final int MENULEFT = 0 Image menuImage[] = new Image[6] int []jiaodu = {330,30,90,150,210,270} String menuName[] = {"新游戲","繼續(xù)游戲","游戲設(shè)置","高分榜","游戲幫助","退出游戲"} int x = getWidth()/2 int y = getHeight()/2 int count = 0 int local int index = 0 Font f boolean running = false /** * 構(gòu)造方法 * */
標(biāo)簽: public CircleMenuCanvas implements Runnable
上傳時(shí)間: 2014-01-08
上傳用戶:zhaoq123
綜合2叉樹(shù)及B+樹(shù)優(yōu)點(diǎn)的能根據(jù)增刪改而分裂或合并的完整程序(現(xiàn)在以8bit(BYTE key)為關(guān)鍵字,可擴(kuò)充到64bit的double為key,用戶數(shù)據(jù)包現(xiàn)在以float ton表示,可擴(kuò)充到任意結(jié)構(gòu)struct)
標(biāo)簽: key double float 8bit
上傳時(shí)間: 2017-02-19
上傳用戶:498732662
Points in Euclidean space, implemented as double[].Includes simple geometric operations.Uses matrices a matrix is represented as an array of Pnts
標(biāo)簽: implemented operations Euclidean geometric
上傳時(shí)間: 2014-01-05
上傳用戶:xiaoxiang
三次樣條插值程序演示。在SplineDemoView.cpp文件中的函數(shù)BOOL CSplineDemoView::ZSpline3()和函數(shù)double Spline3(double)是實(shí)現(xiàn)三次樣條插值算法的核心函數(shù)。用VC6.0編譯運(yùn)行后,在窗口上由左至右點(diǎn)擊鼠標(biāo)左鍵設(shè)置一些點(diǎn),然后點(diǎn)擊鼠標(biāo)右鍵即繪出穿過(guò)這些點(diǎn)的三次樣條插值曲線。
標(biāo)簽: double CSplineDemoView SplineDemoView ZSpline3
上傳時(shí)間: 2014-01-03
上傳用戶:妄想演繹師
This is an implementation of double-array structure for representing trie, as proposed by Junichi Aoe [1]. Trie is a kind of digital search tree, an efficient indexing method with O(1) time complexity for searching. Comparably as efficient as hashing, trie also provides flexibility on incremental matching and key spelling manipulation. This makes it ideal for lexical analyzers, as well as spelling dictionaries. See the details of the implementation at [2]: http://linux.thai.net/~thep/datrie/datrie.html Historically, this was first implemented as C++ classes in a library called midatrie [2], but later simplified and rewritten from scratch in C.
標(biāo)簽: implementation double-array representing structure
上傳時(shí)間: 2013-12-10
上傳用戶:shinesyh
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1