Aproximation ceil and floor
標簽: Aproximation floor ceil and
上傳時間: 2014-01-14
上傳用戶:jcljkh
用了還是沒用上的,大家都來看看啊,呵呵,希望對你會有所幫助 cos()余弦tan()正切sin()正弦sqrt()平方根 asin()反正弦acos()反余弦atan()反正切sinh()雙曲線正弦 cosh()雙曲線余弦tanh()雙曲線正切 注釋:所有三角函數都使用單位度。 log()以10為底的對數ln()自然對數 exp()e的冪abs()絕對值 ceil()不小于其值的最小整數 floor()不超過其值的最大整數 可以給函數ceil和floor加一個可選的自變量,用它指定要圓整的小數位數。帶有圓整參數的這些函數的語法是: ceil(parameter_name或number,number_of_dec_places) floor(parameter_name或number,number_of_dec_places) 其中number_of_dec_places是可選值: 1、可以被表示為一個數或一個使用者自定義參數。如果該參數值是一個實數,則被截尾成為一個整數。 2、它的最大值是8。如果超過8,則不會舍入要舍入的數(第一個自變量),并使用其初值。 3、如果不指定它,則功能同前期版本一樣。 使用不指定小數部分位數的ceil和floor函數,其舉例如下: ceil(10.2)值為11 floor(10.2)值為11 使用指定小數部分位數的ceil和floor函數,其舉例如下: ceil(10.255,2)等于10.26 ceil(10.255,0)等于11[與ceil(10.255)相同] floor(10.255,1)等于10.2 floor(10.255,2)等于10.26
標簽: proe
上傳時間: 2013-11-02
上傳用戶:zhouli
C函數速查手冊 出版社:人民郵電出版社 《C函數速查手冊》中所講的C語言函數按照功能順序和字母順序進行排序,讀者既可以按照功能順序查找,也可以按照字母順序學習。《C函數速查手冊》不僅適合于C語言初學者學習使用,而且也可以作為中、高級C語言開發人員的參考手冊。 目錄 第1章 數學函數 1.1 _clear87函數:清除浮點狀態字 1.2 _status87函數:取浮點狀態字 1.3 abs函數:求整數的絕對值 1.4 acos、acosl函數:反余弦函數 1.5 asin、asinl函數:反正弦函數 1.6 atan函數:反正切函數 1.7 atan2、atan2l函數:計算Y/X的反正切值 1.8 cabs函數:計算復數的模 1.9 ceil函數:向上取整 1.10 cos函數:余弦函數 1.11 cosh函數:雙曲余弦函數 1.12 div函數:求兩個整數相除的商和余數 1.13 exp函數:指數函數 1.14 fabs函數:求浮點數的絕對值 1.15 floor函數:向下取整 1.16 fmod函數:計算x對y的模 1.17 frexp函數:將浮點數分為底數與指數 1.18 hypot函數:計算直角三角形的斜邊 1.19 labs函數:取長整數的絕對值 1.20 ldexp、ldexpl函數:冪計算 1.21 ldiv函數:兩個長整型數相除 1.22 log、logl函數:計算自然對數 1.23 log10、log10l函數:計算常用對數 1.24 max函數:求兩個數中的最大者 1.25 min函數:求兩個數中的最小者 1.26 modf、modfl函數:分割數為整數部分和小數部分 1.27 poly函數:計算多項式 1.28 pow函數:指數函數 1.29 pow10函數:指數函數 1.30 rand函數:隨機數發生器 1.31 random函數:隨機數發生器 1.32 randomize函數:初始化隨機數發生器 1.33 sin函數:正弦函數 1.34 sinh函數:雙曲正弦函數 1.35 sqrt函數:計算平方根 1.36 srand函數:初始化隨機數發生器 1.37 tan、tanl函數:正切函數 1.38 tanh、tanhl函數:雙曲正切函數 第2章 字符串函數 2.1 atof函數:把字符串轉換成浮點數 2.2 atoi函數:將字符串轉換成整型數 2.3 atol函數:將字符串轉換成長整型數 2.4 ecvt函數:將浮點數轉換為字符串 2.5 fcvt函數:將浮點數轉換為字符串 2.6 gcvt函數:將浮點數轉換成字符串 2.7 itoa函數:將整數值轉換為字符串 2.8 isalnum函數:字母、數字判斷函數 2.9 isalpha函數:字母判斷函數 2.10 isascii函數:整數值的字符分類 2.11 iscntrl函數:控制字符判斷函數 2.12 isdigit函數:數字判斷函數 2.13 isgraph函數:打印字符判斷 2.14 islower函數:小寫字母判斷函數 2.15 isprint函數:可打印字符判斷函數 2.16 isptmct函數:標點符號判斷函數 2.17 isspace函數:空格等判斷函數 2.18 isupper函數:大寫字母判斷函數 2.19 isxdigit函數:十六進制數字判斷函數 2.20 ltoa函數:將長整值轉換為字符串 2.21 mbstowcs函數:將多字節字符序列轉換成相應的寬字符序列 2.22 mbtowc函數:將多字節字符轉換成相應的寬字符 2.23 stpcpy函數:復制字符串 2.24 strcat函數:拼接字符串 2.25 strchr函數:查找給定字符 2.26 strcmp函數:比較字符串 2.27 strcmpi函數:比較字符串 2.28 strcpy函數:復制字符串 2.29 strcspn函數:查找不包含指定字符集子串的段 2.30 strdup函數:將字符串復制到新建的位置 2.31 stricmp函數:比較字符串 2.32 strlen函數:獲取字符長度
上傳時間: 2014-12-25
上傳用戶:水口鴻勝電器
用了還是沒用上的,大家都來看看啊,呵呵,希望對你會有所幫助 cos()余弦tan()正切sin()正弦sqrt()平方根 asin()反正弦acos()反余弦atan()反正切sinh()雙曲線正弦 cosh()雙曲線余弦tanh()雙曲線正切 注釋:所有三角函數都使用單位度。 log()以10為底的對數ln()自然對數 exp()e的冪abs()絕對值 ceil()不小于其值的最小整數 floor()不超過其值的最大整數 可以給函數ceil和floor加一個可選的自變量,用它指定要圓整的小數位數。帶有圓整參數的這些函數的語法是: ceil(parameter_name或number,number_of_dec_places) floor(parameter_name或number,number_of_dec_places) 其中number_of_dec_places是可選值: 1、可以被表示為一個數或一個使用者自定義參數。如果該參數值是一個實數,則被截尾成為一個整數。 2、它的最大值是8。如果超過8,則不會舍入要舍入的數(第一個自變量),并使用其初值。 3、如果不指定它,則功能同前期版本一樣。 使用不指定小數部分位數的ceil和floor函數,其舉例如下: ceil(10.2)值為11 floor(10.2)值為11 使用指定小數部分位數的ceil和floor函數,其舉例如下: ceil(10.255,2)等于10.26 ceil(10.255,0)等于11[與ceil(10.255)相同] floor(10.255,1)等于10.2 floor(10.255,2)等于10.26
標簽: proe
上傳時間: 2013-10-20
上傳用戶:sevenbestfei
HDOJ 1047 One of the first users of BIT s new supercomputer was Chip Diller. He extended his exploration of powers of 3 to go from 0 to 333 and he explored taking various sums of those numbers. ``This supercomputer is great, remarked Chip. ``I only wish Timothy were here to see these results. (Chip moved to a new apartment, once one became available on the third floor of the Lemon Sky apartments on Third Street.)
標簽: supercomputer extended Diller explor
上傳時間: 2013-12-22
上傳用戶:黑漆漆
A collection of LDPC(Low-Density Parity-Codes) tools. Including: Code construction Density Evolution Decoding Algorithm Girth average Counter Stopping set and error floor,etc
標簽: Parity-Codes construction Low-Density collection
上傳時間: 2016-05-10
上傳用戶:liglechongchong
Description The art galleries of the new and very futuristic building of the Center for Balkan Cooperation have the form of polygons (not necessarily convex). When a big exhibition is organized, watching over all of the pictures is a big security concern. Your task is that for a given gallery to write a program which finds the surface of the area of the floor, from which each point on the walls of the gallery is visible. On the figure 1. a map of a gallery is given in some co-ordinate system. The area wanted is shaded on the figure 2.
標簽: Description futuristic galleries the
上傳時間: 2017-02-17
上傳用戶:1427796291
Maya Calendar During his last sabbatical, professor M. A. Ya made a surprising discovery about the old Maya calendar. From an old knotted message, professor discovered that the Maya civilization used a 365 day long year, called Haab, which had 19 months. Each of the first 18 months was 20 days long, and the names of the months were pop, no, zip, zotz, tzec, xul, yoxkin, mol, chen, yax, zac, ceh, mac, kankin, muan, pax, koyab, cumhu. Instead of having names, the days of the months were denoted by numbers starting from 0 to 19. The last month of Haab was called uayet and had 5 days denoted by numbers 0, 1, 2, 3, 4. The Maya believed that this month was unlucky, the court of justice was not in session, the trade stopped, people did not even sweep the floor.
標簽: A. M. sabbatical surprising
上傳時間: 2014-01-05
上傳用戶:libenshu01
Description Scientific calculator. Allows to perform caclulation with high precicion and implements most populatr mathematical functions: sin, cos, tan, asin, acon, atan, exp, log, sqr, floor and ceil. Also it make it possible to define your own function, store results in variables and use variable sin expressions. Calculator store al formuls you have entered. Plot function can be used to draw graph of function with single argument. More detailed description of calculator is here.
標簽: Description caclulation Scientific calculator
上傳時間: 2014-01-25
上傳用戶:familiarsmile
Accurate pose estimation plays an important role in solution of simultaneous localization and mapping (SLAM) problem, required for many robotic applications. This paper presents a new approach called R-SLAM, primarily to overcome systematic and non-systematic odometry errors which are generally caused by uneven floors, unexpected objects on the floor or wheel-slippage due to skidding or fast turns.The hybrid approach presented here combines the strengths of feature based and grid based methods to produce globally consistent high resolution maps within various types of environments.
標簽: localization environments challenging Resilient mapping R-SLAM and in
上傳時間: 2019-09-15
上傳用戶:zhudx2007