-
VC++三次样条插值和贝塞尔曲线实例程序
这个源代码是基于VC++ MFC 实现三次样条插值算法,实现数据平滑处理。MFC界面可实现控制点设置,且可选择采用三次样条插值或贝塞尔曲线平滑,结果有GUI显示。
- 2023-02-17 01:50:03下载
- 积分:1
-
使用 c + + 静态霍夫曼 (包括说明进行操作)
-第一,该程序将扫描压缩的文件并将输入的字符保存在文件中,(nhapDuLieu 函数),然后按常规字符出现的顺序进行排序。-接下来,用来加密数据,以创建哈夫曼树由 taoCayHuffman 方法 ()。数据将存储在输出文件中。后来当解码使用所存储的数据来生成用于减压的哈夫曼树。-使用 ListNode 是双重链接列表 HuffmanNode 存储。每个 HuffmanNode 7 组件,包括光标,左、 右。 + 符号是字符。 + 频率是相匹配的字符个数。 + 码字是对应的二进制数字的十进制表示形式。例如码字的 A 为 3,它对应于二进制代码 011。 + CodewordLen 存储位码字数量,以避免与 0011 混淆或 11 011 或 00011......+ RunLen 长度的字符的编码 () 操作相同原则: 例如,在原始输入文件中包含的字符串 AAAB,AAA 和码字存储在 110," 包 " 将节省码字它作为 4 个字节 (32 位),万人......为 000110 (32 位)。然后 B 是在存储和处理,B 的码字是 01-> 保存到 " 包 " 通过添加左侧 " 包 " 以前-> 000 个。000 110 01 (也就是 32 位) — — 的运作原则解码 (): 解码 () 操作简单编码 ()。首次创建数组数据 [] 用方法 nhapDoThuongXuyen (),然后由 taoCayHuffman () 构造的哈夫曼树最后在函数中解码的树和原始字符串 () 扫描
- 2022-10-30 11:20:02下载
- 积分:1
-
c语言耍法,对于数学建模有用
c语言耍法,对于数学建模有用-c language game, useful for mathematical modeling.
- 2022-01-22 06:07:50下载
- 积分:1
-
a mathematical algorithm large pool
一个数学算法的大集合-a mathematical algorithm large pool
- 2022-02-21 10:37:46下载
- 积分:1
-
正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是...
正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是2 个正整数,a≤b,找出a 和b之间约数个数最多的数x。
对于给定的2 个正整数a≤b,编程计算a 和b 之间约数个数最多的数。
数据输入
输入数据由文件名为input.txt的文本文件提供。文件的第1 行有2 个正整数a和b。
结果输出
程序运行结束时,若找到的a 和b 之间约数个数最多的数是x,将div(x)输出到文件output.txt中。
输入文件示例 输出文件示例
input.txt output.txt
1 36 9
-Positive integer x can be about a few of the positive integer x divisible. Positive integer x the approximate number recorded as the number of div (x). For example, 1,2,5,10 are about 10 positive integer number, and div (10) = 4. Set a and b are two positive integers, a ≤ b, to find a and b between about a few number of the largest number of x. For a given two positive integers a ≤ b, Programming calculated a and b between about a few number of the largest number. Data entry input data from the document text file named input.txt provide. File line 1 has two positive integers a and b. The results run the end of the output, if found between a and b of about a few number o
- 2023-04-13 05:20:03下载
- 积分:1
-
mumford source coode
mumford source coode-mumford source coode........
- 2023-04-14 06:15:03下载
- 积分:1
-
SOM 神经网络聚类可以在 Weka 嵌入
SelfOrganizingMap 或 SOM 神经网络算法对聚类的数据集,可以在 Weka 程序中嵌入
- 2022-02-02 16:06:02下载
- 积分:1
-
研究生期间上《数值计算方法》课的作业,所有代码都是C语言实现并调试通过,现在上传为大家服务。这是Doolittle分解的算法...
研究生期间上《数值计算方法》课的作业,所有代码都是C语言实现并调试通过,现在上传为大家服务。这是Doolittle分解的算法-"numerical methods" courses of operations, are all code and the C language debugging passed, and upload to us. Try This is the decomposition algorithm
- 2022-02-05 08:46:28下载
- 积分:1
-
十六进制编辑器示例
教育的十六进制编辑器简单示例THexEditor v1.16 正式版THexToCanvas v1.0 Beta 2THexEditor 从 TCustomGrid,下降和显示和编辑十六进制/二进制文件THexToCanvas 是 TComponent 的后裔,将 THexEditor 分配给它设置一些属性和你可以画出画布上 (例如打印机画布) 的十六进制数据享受
- 2022-04-01 13:22:16下载
- 积分:1
-
一维搜索程序――黄金分割点方法,我自己编的!大家多多下载,多多支持啊!...
一维搜索程序――黄金分割点方法,我自己编的!大家多多下载,多多支持啊!-one-dimensional search procedures-- Golden Section point, I developed! Members can download the generous support ah!
- 2023-08-05 10:15:03下载
- 积分:1