-
in Turbo C development environment and achieve symmetric matrix input, and to de...
在Turbo C环境下开发,实现对称矩阵的输入,并判定是否为正定。可以修改输入模块实现对任意非奇异矩阵求逆。求逆算法采用伴随矩阵法,求解行列式采用化上三角矩阵法。该算法系本人根据《线性代数》描述编写,矩阵的最大阶数可任意修改,更具有通用性。-in Turbo C development environment and achieve symmetric matrix input, and to determine whether the positive. Can modify the input module of arbitrary non-singular matrix inversion. Inverse algorithm adjoint matrix method, used to solve determinant of the upper triangular matrix. The algorithm is based on my "Linear Algebra" to describe the preparation, the biggest band Matrix will be able to arbitrarily amend, more versatile.
- 2023-01-02 15:05:03下载
- 积分:1
-
又树复小波变换工具包
本程序为完整的双树复小波工具包,包括了一维和二维双树复小波变换,是一个非常齐全的工具包。
- 2022-08-19 19:01:30下载
- 积分:1
-
关于一些算法中如何生成新成员的选择方法,粒子群算法,遗传算法等算法可以用。...
关于一些算法中如何生成新成员的选择方法,粒子群算法,遗传算法等算法可以用。-How about some algorithm to generate a new member of the selection method, particle swarm optimization, genetic algorithms and other algorithms can be used.
- 2023-03-07 06:40:03下载
- 积分:1
-
生活 2D 细胞自动机的游戏
基于生命 Conway´s 游戏与案文和葡萄牙文中的注释的 2D 细胞自动机一个 c + + 实现。
元胞自动机是什么?
元胞自动机是人工智能的一个字段。元胞自动机是上一个单元格的矩阵算法的实现。这是 2D 细胞自动机,因为在列中排列的单元格和行。有一个基本的规则,确定单元格的状态。由状态我的意思是上或下一个单元格的条件。在我执行黑的颜色是红色的而白已关闭。
你的 "规则" 是什么意思?
由规则,我的意思是: 应用于每个单元格,以确定其当前状态的一个基本条件。当前状态被受本身的前一状态和/或其邻居的前一状态。
你的邻居是什么意思?
在 2D、 每个单元格四周 8 其他单元格。看看在一个电子表格应用程序中的任何单元格和计数周围特定单元格的单元格数目。你会发现它是 8。
同样,邻国 1 D 中的数是 2 和 3d 是 26。
编号从 0 的单元格的邻国的图形表示。这是正在使用的这种实现公
- 2022-10-02 02:55:03下载
- 积分: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
-
Otsu算法的实现与验证
这段代码描述了大津算法的实现及其在matlab中实现的灰度阈值函数的验证。
- 2023-06-17 03:10:04下载
- 积分:1
-
国际象棋骑士遍历问题
国际象棋的骑士遍历也称跳马问题、马踏棋盘问题:在8*8方格的国际象棋棋盘上,从任意指定的方格出发,为象棋中的马寻找一条走遍棋盘每一格并且只经过一次的一条路径。程序从“深度优先”、“广度优先”两种算法思想入手,并设计了Java GUI界面,很好地展示了骑士遍历的过程。
- 2022-03-24 22:04:15下载
- 积分:1
-
实现采集数据的曲线拟合,及内插函数等功能
实现采集数据的曲线拟合,及内插函数等功能-Realize data acquisition curve fitting, and interpolation functions and other functions
- 2023-06-12 23:20:03下载
- 积分:1
-
这是一个追赶法的算法
这是一个追赶法的算法-This is a law to catch up with the algorithm
- 2022-05-18 13:05:24下载
- 积分:1
-
hough 霍夫变换检测直线
霍夫变换是图像变换中的经典手段之一,主要用来从图像中分离出具有某种相同特征的几何形状(如,直线,圆等)。霍夫变换寻找直线与圆的方法相比与其它方法可以更好的减少噪声干扰。经典的霍夫变换常用来检测直线,圆,椭圆等。
- 2022-03-15 18:18:55下载
- 积分:1