-
英文文本信息熵的计算
说明: 实用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
-
pingjiansheji
采用c语言设计平键,校核平键的强度,实现人机交互,用户有较大的选择余地(Flat key design using c language, check the strength of flat keys, to achieve human-computer interaction, users have greater choice)
- 2011-05-16 16:36:17下载
- 积分:1
-
ZnDate
一个输入日期时自动判断合法性、补全格式的模块调用示例,有详细注释。(Automatically when an input to determine the legitimacy of the date, call up the whole format of the module example, there are detailed notes.)
- 2011-09-20 10:36:11下载
- 积分:1
-
computer
该计算器实现简单加减乘除机开根号、倒数等操作。(The realization of a simple calculator, countdown, add, subtract, multiply and divide machine open radical operation.)
- 2012-11-29 21:20:46下载
- 积分:1
-
PMSMsys
永磁同步电机自建模型仿真,此自建模型是基于dq轴的永磁同步电机,希望给初学自建烦琐子系统的同仁有点参考价值(self PMSM model simulation, the model is based on self-dq axis of permanent magnet synchronous motor, hope for self-learning cumbersome subsystem colleagues a bit reference value)
- 2006-06-30 17:21:27下载
- 积分:1
-
VC-Communition
一个简单的通迅录C++源码,不过很有用,可以值得参考一下。(A simple communication the recorded C++ source, however useful, can be worth considering.)
- 2012-08-03 15:52:30下载
- 积分:1
-
fffff
运动检测能量的算子小程序 很好用的 可以用于毕业设计算法(Motion Detection energy Operator small programs can be good for the graduate design algorithm)
- 2006-06-14 11:25:17下载
- 积分:1
-
interactions
qt实现的遗传算法 解决最大最小值得问题 (qt genetic algorithm to achieve the maximum and minimum worth solving problems)
- 2013-12-13 02:50:38下载
- 积分:1
-
ymd
输入年月日得出星期,按照代码里面的提示输入就可以得到星期几,输入的年份是有一个范围的,输入没有检错处理的!!!(Enter the date come weeks)
- 2013-01-13 19:53:28下载
- 积分:1
-
shurce
k在VC中对话框程序中实现切分窗口的控件类,不错的源码(K in VC dialog box procedure of segmentation window in the control class, a good source)
- 2017-06-01 17:21:19下载
- 积分:1