-
数学计算程序,共轭梯度算法,用C语言编写,用于优化问题的计算。...
数学计算程序,共轭梯度算法,用C语言编写,用于优化问题的计算。-Mathematical procedure, conjugate gradient algorithm, using C language for optimization calculations.
- 2023-01-22 08:15:03下载
- 积分:1
-
河内大厦实现步的运动,采用递归算法。
实现汉诺塔的移动步骤,
使用递归算法。-Tower of Hanoi realize the movement of steps, the use of recursive algorithm.
- 2022-07-20 06:45:22下载
- 积分:1
-
一个比较简单的算法程序。输入一些数,计算后按照矩阵的形式输出。设了三个数组a[],b[],c[]。分别实现c[]=a[]+b[],c[]=a[]...
一个比较简单的算法程序。输入一些数,计算后按照矩阵的形式输出。设了三个数组a[],b[],c[]。分别实现c[]=a[]+b[],c[]=a[]-b[],c[]=a[]*b[]。-a relatively simple procedure of the algorithm. The importation of some few, calculated in accordance with the matrix in the form of output. Established three array a [], [] b, c []. C respectively, to achieve a = [] [] [] b, c = a [] []- [] b, c [] [] = a* b [].
- 2022-06-29 20:00:13下载
- 积分:1
-
ISAP网络流算法模板
众所周知,在网络流的世界里,存在2类截然不同的求解思想,就是比较著名的预流推进与增广路,两者都需要反向边的小技巧。
其中预流推进的算法思想是以边为单元进行推流操作。 具体流程如下:置初始点邻接边满流并用一次反向bfs对每个结点计算反向距离标号,定义除汇点外存量大于出量的结点为活动结点,每次对活动结点 按允许边(u->v:d[u]=d[v]+1)进行推流操作,直到无法推流或者该点存量为0,若u点此时仍为活动结点,则进行 重标号,使之等于原图中进行推操作后的邻接结点的最小标号+1,并将u点入队。 当队列为空时,算法结束,只有s点和t点存量非0,网络中各顶点无存量,无法找到增广路继续增广,则t点存量为最大流。
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-03-20 19:30:49下载
- 积分:1
-
切比雪夫滤波器设计,JAVA编写,VJ编译
切比雪夫滤波器设计,JAVA编写,VJ编译-a design of Chebyschev filter, written by JAVA and compiled by VJ
- 2022-02-06 20:01:59下载
- 积分:1
-
科学与工程数值算法中的矩阵类
科学与工程数值算法中的矩阵类-science and engineering numerical algorithm of matrices
- 2022-04-01 16:14:43下载
- 积分:1
-
这个应该是经典编程里面的经典算法实现的八皇后问题.也通过了测试.完全达到设计要求.
这个应该是经典编程里面的经典算法实现的八皇后问题.也通过了测试.完全达到设计要求.-This should be a classic of the classic programming algorithm inside the eight Queen s problems. Also passed the test. Fully meet the design requirements.
- 2022-01-22 07:50:23下载
- 积分:1
-
poj2187给一堆点,求出其中的最远点对,凸包的应用
poj2187给一堆点,求出其中的最远点对,凸包的应用-poj2187 to a pile of points, obtained one of the furthest points right, the application of convex hull
- 2022-03-10 07:13:36下载
- 积分:1
-
哥德巴赫猜想:哥德巴赫(哥德巴赫)曾提出这样一个猜想:2000以内…
Goldbach s conjecture: Goldbach(哥德巴赫)曾经提出了一个这样的猜想: 对于2000 以内的正偶数都能够分解为两个素数之和。 要求: 该题是一个猜想,我们不去证明它,而是通过编程序来验证 该猜想是否正确。 输入: 用户从键盘任意输入一个自然数。 输出: 给出满足猜想的两个自然数。-Goldbach conjecture : Goldbach (Goldbach) had raised such a guess : 2000 within the can is even divided into two prime numbers and. Requirements : The title is a guess, we do not prove it, but through programmed to verify the guess is correct. Input : arbitrary user input from the keyboard to a natural number. Output : meet guess is the natural number two.
- 2023-05-19 07:45:03下载
- 积分:1
-
一个大整数计算的小程序,可以进行大数的计算,可以对素数进行测试...
一个大整数计算的小程序,可以进行大数的计算,可以对素数进行测试-a large integer calculation procedures for the small, the large numbers can be calculated in the number of test-
- 2023-04-18 13:35:03下载
- 积分:1