-
GA
说明: 遗传算法用来求解带容量的车辆路径问题,用c++完成的代码(The genetic algorithm is used to solve the vehicle routing problem with capacity. The code is completed by c++.)
- 2019-06-19 16:30:06下载
- 积分:1
-
juzhen
复数矩阵的运算、包括乘、除、加、减、求逆等(Including all operations of the matrix)
- 2017-07-22 14:21:04下载
- 积分:1
-
ljanliyadianguan.mph
comsol .mph 压电案例文件 详细说明了如何进行压电操作(comsol .mph piezo example file)
- 2020-10-20 14:37:24下载
- 积分:1
-
二维非稳态导热问题的Fortran程序
计算二维非问题油内热源问题导热,可以参考学习(Calculation of two-dimensional non thermal problems in oil heat conduction, you can refer to the study)
- 2017-11-23 10:44:02下载
- 积分:1
-
5
说明:
★问题描述:
给出平面上的N 个二维点,求出距离最小的2 个点对。本题中距离定义为他们的直
线距离。例如(0,0) (3,4)的距离为5.
★数据输入:
有多组数据,对于每组数据,第一行是一个数字N 表示点的个数。N=0 的时候说明
输入结束。之后N 行,每行有2 个浮点数x_i,y_i 表示第i 个点的坐标。(1<=N<=10000
0,0<=|x_i|,|y_i|<=10^9)
★结果输出:
输出一个浮点数,表示最近点对的距离除以2,保留2 位小数(四舍五入)。
- 2013-12-03 14:57:02下载
- 积分:1
-
na7
Orthogonal Polynomials Approximation
数值分析,计算正交基多项式的系数
(Given a function f and a set of m >0 distinct points . You are supposed to write a function to approximate f by an orthogonal polynomial using the exact function values at the given m points with a weight assigned to each point . The total error must be no larger than a given tolerance.
Format of function
int OPA( double (*f)(double t), int m, double x[], double w[], double c[], double*eps )
where the function pointer double (*f)(double t) defines the function f int m is the number of points double x[] contains points double w[] contains the values of a weight function at the given points x[] double c[] contains the coefficients of the approximation polynomial double*eps is passed into the function as the tolerance for the error, and is supposed to be returned as the value of error. The function OPA is supposed to return the degree of the approximation polynomial.
Note: a constant Max_n is defined so that if the total error is still not small enough when n = Ma)
- 2011-11-27 11:47:21下载
- 积分:1
-
fdtd
电磁场的时域有限元仿真,用于学习电磁场的时域计算。(Time domain electromagnetic finite element simulation for learning time-domain electromagnetic field calculation.)
- 2013-06-20 17:12:34下载
- 积分:1
-
line_guiyi
数据归一化处理,对数据进行一个标准化处理,将各个不同单位的变量,转换成无量纲的量(Data normalization, a standardization of data processing, will be different units of variables, into dimensionless quantities)
- 2019-04-17 17:36:24下载
- 积分:1
-
f77_gcc
PSCAD interface with C
- 2012-08-06 08:14:51下载
- 积分:1
-
cordic_1-0
在通訊系統中常見到的cordic,是個用很少複雜度就能實現三角函數的電路,檔案中有C語言的CORDIC程式(In the communication system common to cordic, is a little complex to use trigonometric functions will be able to realize the circuit, the file has C language program CORDIC)
- 2009-02-15 05:19:59下载
- 积分:1