-
英文文本信息熵的计算
说明: 实用C++计算一篇英文文本的信息熵
1、 读取文档,统计英文字母及空格出现的次数;
(将小写字母转为大写字母进行计数)
2、 求概率分布P(X);
3、 根据定义求信息熵。(Computing the information entropy of an English text with C + +
1. Read the document and count the number of English letters and spaces;
(convert lowercase letters to uppercase letters for counting)
2. Calculate the probability distribution P (x);
3. According to the definition of entropy.)
- 2020-10-04 09:41:10下载
- 积分:1
-
Hook-lock
让你随时想安全地挂机就挂机,加上锁安全。(Hook lock)
- 2012-10-03 00:14:30下载
- 积分:1
-
UltraISO_8.60
制作iso文件的东西,下载后,请打开readme.txt获得注册码进行注册;
希望大家多多分享啊!(creeate the iso file)
- 2009-06-27 14:54:38下载
- 积分:1
-
Chang_display
改变屏幕分辨率,程序控制动态改变屏幕的分辨率。(change the screen resolution, dynamic programmed to change the screen resolution.)
- 2006-07-06 09:28:09下载
- 积分:1
-
DoExcel
vb操作EXCEL,可打开EXCEL文件,添加、删除记录(vb operation EXCEL, can open the EXCEL file, add, delete, records)
- 2009-06-26 15:01:58下载
- 积分:1
-
test1
这是一个功能完善的计算器小程序,开发环境时VC++6.0(This is a good small program.)
- 2011-09-01 16:14:43下载
- 积分:1
-
gui_dyn_14_3
动态电路分析,用户输入电阻、电容、电容初始电压。(Dynamic Circuits, user input resistance, capacitance, initial voltage of the capacitor.)
- 2016-10-11 11:07:37下载
- 积分:1
-
invGJ
输入一个矩阵,可以求得该矩阵的逆矩阵,内附解释说明(Enter a matrix, you can obtain the inverse matrix, containing an explanation)
- 2010-08-20 12:17:51下载
- 积分:1
-
JAVAJISUANQIDE
java计算器源程序 科学计算器编程方面有些帮助(failed to translate)
- 2011-06-27 19:15:39下载
- 积分:1
-
CLOCK
钟面上的时针和分针之间的夹角总是在 0 ~180之间 ( 包括 0 和180 ) 。举例来说,在十二点的时候两针之间的夹角为 0 ,而在六点的时候夹角为180 ,在三点的时候为90 。本题要解决的是计算 12:00 到 11:59 之间任意一个时间的夹角。(The angle between the hour and minute hands of the clock face is always between 0 to 180 (including 0 and 180). For example, twelve o' clock, when the angle between the two pin 0, in the six o' clock when the angle is 180, three points for 90. This question must be resolved are the angle of the calculation of 12:00 to 11:59 any one time.)
- 2011-06-28 13:14:11下载
- 积分:1