-
徐士良 Fortran常用算法程序集 (第二版) 线性方程组求解
程序包括常用线性方程组数值求解算法程序,对于做数值计算领域的朋友非常有用!!
- 2023-02-01 13:40:03下载
- 积分:1
-
算法大师Donald E.Knuth的经典著作《Concrete Mathematics具体数学》,算法学习的基础...
算法大师Donald E.Knuth的经典著作《Concrete Mathematics具体数学》,算法学习的基础-algorithm master Donald E. Knuth classics "Concrete Mathe Matics specific math. "the foundation of learning algorithm
- 2022-05-07 23:54:03下载
- 积分:1
-
天气决策树源代码
用Information
Gain构造决策树的方法。
计算各分支的熵
“晴”的分支含2个正例3个反例,所需期望信息量为:
M(天况为晴)=-2/5 * log2 (2/5)-3/5 * log2 (3/5)
= 0. 971 bits
“多云”的分支,含4个正例0个反例:
M(天况为多云)=0
“雨”的分支,含3个正例2个反例:
M(天况为雨)=-3/5 * log2 (3/5)-2/5 * log2 (2/5)
- 2023-03-06 04:15:04下载
- 积分:1
-
最尺度法的C++算法程序,计算速度较快较精确
最尺度法的C++算法程序,计算速度较快较精确-The most scales of the C++ algorithm program to calculate a more accurate speed
- 2022-06-15 15:26:40下载
- 积分:1
-
单个文件在以下链接是可用的:
Individual files are available in the following links:
Bessjy -- Bessel functions Jn and Yn for real argument and integer or real order.
Bessik -- Modified Bessel function In and Kn for real argument and integer or real order.
CBessjy -- Bessel functions Jv and Yv for real or complex arguments and real order.
CBessik -- Modified Bessel functions Iv and Kv for complex arguments and real order.
-Individual files are available in the following links: Bessjy- Bessel functions Jn and Yn for real argument and integer or real order. Bessik- Modified Bessel function In and Kn for real argument and integer or real order. CBessjy- Bessel functions Jv and Yv for real or complex arguments and real order. CBessik- Modified Bessel functions Iv and Kv for complex arguments and real order.
- 2022-04-29 03:27:40下载
- 积分:1
-
米勒拉宾素性检验
- 2022-02-10 04:54:29下载
- 积分:1
-
旅行商问题
某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程(或旅...
旅行商问题
某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程(或旅费)最小。
例如:给定4个城市{1,2,3,4}及其各城市之间的路程
最优路线是1,3,2,4,1,
其最短路程是25-a salesman, traveling salesman problem, a number of cities to sell commodities, the known distance between the city (or travel). He selected from a resident, after each city again, the last resident to return to the line, making the total distance (or travel) is the smallest. For example : given four cities (1,2,3,4) and the distance between the city optimal route is 1,3,2,4, 1, the shortest distance is 25
- 2022-03-31 13:34:20下载
- 积分:1
-
动态规划中的传送阵算法
魔法世界的小明要乘传送阵到其目的地,传送阵有不同的规模大小,且只能由规模小的传送阵传送到规模大的传送阵。小明已经知道目的地的传送阵比他现在所在的传送阵规模大,且在这两个传送阵规模之间,有n-2个不同的传送阵。小明发挥起了聪明才智,将这些传送阵按规模大小标为1到n号,当然了1号就是起始地点,n号是目的地。 自然我们有,这n个标号的传送阵,号小的能去号大的,号大的不能去号小的。小明也测量了一些传送阵到另一些传送阵的时间,至于没有测量的时间的道路,小明不希望走(万一这条路传送阵失灵呢….)。 现在问题来了,小明最短需要多久才能到目的地呢?
- 2022-06-11 20:04:24下载
- 积分:1
-
用于科学计算的Fortran 90算法源程序
用于科学计算的Fortran 90算法源程序-for scientific computation algorithm source Fortran 90
- 2022-07-21 07:38:54下载
- 积分:1
-
鼹鼠闯迷宫
资源描述void creatWay(int (*mg)[N],int x, int y)//在迷宫中产生一条路,使用图的深度遍历思想来实现,
{
static int dir[4][2] = {0, 1, 1, 0, 0, -1, -1, 0};////将要走的4个方向保存在二维数组中
int zx = x*2;
int zy = y*2;
int next, turn, i;
mg[zx][zy] = 0;
if(rand()%2)
turn = 1;
else
turn = 3;
for(i=0,next=rand()%4;i
- 2022-01-26 05:46:58下载
- 积分:1