-
Magic
幻方 (magic cube )
- 2010-06-05 15:08:54下载
- 积分:1
-
SHENGXUE_BEM
求解声学问题的边界元程序,给声学研究的人员很大启发(Solving the problem of acoustic boundary element program, to inspire great acoustic research staff)
- 2011-07-27 06:37:38下载
- 积分:1
-
fft
说明: 实现快速离散傅里叶变换,即FFT,很有用的程序(Fast discrete Fourier transform, namely, FFT, very useful program)
- 2008-10-31 13:46:14下载
- 积分:1
-
KMEANS
This directory contains code implementing the K-means algorithm. Source code
may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS
program accepts input consisting of vectors and calculates the given
number of cluster centers using the K-means algorithm. Output is
directed to the screen.
Usage for KMEANS is:
KMEANS SOURCEFILE <enter>
The format of the source file is:
NPat - Number of patterns (int)
SizeVect - Size of vector (int)
NClust - Number of cluster centers(int)
vect[1,1] ... vect[1,SizeVect] - vector 1 (real)
vect[2,1] ... vect[2,SizeVect] - vector 2 (real)
. .
. .
. .
vect[NPat,1] ... vect[NClust,SizeVector] - vector N (real)
To compile:
ICC KMEANS.CPP <enter>
(This directory contains code implementing the K-means algorithm. Source code
may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS
program accepts input consisting of vectors and calculates the given
number of cluster centers using the K-means algorithm. Output is
directed to the screen.
Usage for KMEANS is:
KMEANS SOURCEFILE <enter>
The format of the source file is:
NPat - Number of patterns (int)
SizeVect - Size of vector (int)
NClust - Number of cluster centers(int)
vect[1,1] ... vect[1,SizeVect] - vector 1 (real)
vect[2,1] ... vect[2,SizeVect] - vector 2 (real)
. .
. .
. .
vect[NPat,1] ... vect[NClust,SizeVector]- vector N (real)
To compile:
ICC KMEANS.CPP <enter>
)
- 2013-01-05 23:11:23下载
- 积分:1
-
PSO
针对传统的算法如遗传算法、粒子群算法等在TSP问题上求解精确性和求解规模上都还有一定的不足,本文提出了一种基于动态规划思想的粒子群优化算法。该算法用动态规划的方法实现粒子间的信息交互和粒子的进化,并且将粒子群中的粒子按无标度信息指导网络拓扑图的方式进行连接。仿真结果表明该方法能有效地减小误差率,提高解的精确,同时还保持了较低的计算复杂度,具有良好的稳健性。(TSP problem solving for the traditional algorithms such as genetic algorithms, particle swarm optimization accuracy and solving the scale, there is a certain lack of a dynamic programming algorithm-based particle swarm optimization algorithm. The algorithm using dynamic programming method to achieve the evolution of information exchange between the particles and the particles, and particle swarm particle scale-free information guide network topology map to connect. The simulation results show that this method can effectively reduce the error rate and improve the solution precision, while maintaining a low computational complexity, good soundness.)
- 2013-01-07 18:05:35下载
- 积分: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
-
KZK
求解KZK方程的VISUAL C++源代码 具有计算速度快,计算精度高等优点。(source code solution of KZK equation visual c++)
- 2021-05-13 10:30:02下载
- 积分:1
-
nihe
最小二乘法拟合进行n次多项式拟合,N用来控制拟合的次数,例如N=5时进行4次多项式拟合,还回的是拟合系数(Least squares fit polynomial n times, N is used to fit the number of control, e.g., N = 5 When quartic polynomial fitting, further back are fitting coefficients)
- 2021-02-14 15:39:49下载
- 积分:1
-
grid
一个简单的网格生成程序,操作方便,易学,类似于easymesh!(A simple grid generation program, easy to operate, easy to learn, like easymesh!)
- 2011-08-23 20:02:51下载
- 积分:1
-
常微分方程数值解法
常微分方程数值解法,又是一个数值分析的常用算法(Numerical Solution of ordinary differential equations, numerical analysis is a common algorithm)
- 2005-01-31 22:13:30下载
- 积分:1