-
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
-
MatrixCalculator
实现线性代数的矩阵运算的C++程序,矩阵计算器。(Linear algebra matrix operations C++ procedures matrix calculator.)
- 2013-01-26 15:33:54下载
- 积分:1
-
Hanio
关于汉诺塔的代码,中间是用迭代的方法实现的(About Hanio Tower)
- 2012-06-28 22:59:26下载
- 积分:1
-
c_and_f
c/C++跟fortran语言之间的一些转换(c/C fortran language with the conversion between)
- 2007-05-31 13:46:32下载
- 积分:1
-
7
说明: 相变UDF,包括质量传递和热量传递,能够进行气液相变的模拟(Phase transition UDF, including mass transfer and heat transfer, gas-liquid phase transition can be simulated)
- 2013-09-23 15:06:01下载
- 积分:1
-
fft
FFT快速傅里叶变换,用于数字信号处理,大大提高了运行速度,节省内存开销。C语言实现(FFT fast Fourier transform for digital signal processing, greatly improving the speed and save memory overhead. C language)
- 2011-05-30 00:54:58下载
- 积分:1
-
mom
矩量法仿真电磁辐射和散射的源代码(c++) (Moment Method Simulation of electromagnetic radiation and scattering of the source code (c++))
- 2021-03-20 23:59:18下载
- 积分:1
-
Levenberg-Marquardt_Method
说明: LM算法的c语言实现
拟合的函数为gauss函数(Levenberg-Marquardt Method)
- 2021-04-11 16:18:58下载
- 积分:1
-
jifen
各种数值积分,龙贝格积分。反常积分。高斯积分。三重积分。(Various numerical integration Romberg integration. Improper integrals. Gaussian integral. Triple integral.)
- 2012-12-02 15:54:40下载
- 积分:1
-
Gravity-anomaly
计算重力异常,只需要输入最大重力场模型的最大阶数以及重力场模型文件名在程序里设置经纬度范围和间隔即可得到重力异常(Gravity anomaly)
- 2013-06-13 14:46:49下载
- 积分:1