-
TSP--problem--solution
TSP最短路径 最少时间 数学建模 (TSP shortest path at least time mathematical modeling)
- 2012-03-08 17:59:01下载
- 积分:1
-
qiuni
C语言矩阵求逆模块,输入矩阵调用此模块即可求出对应的逆矩阵(C language matrix inversion module)
- 2013-12-16 21:18:18下载
- 积分:1
-
template1
用于造波 对于从零开始学习UDF,建议还是先看一下UDF中文帮助,我估计大家知道的都是马世虎翻译的那本吧,感觉挺好。(fluent In order to learn UDF from scratch, it is suggested that we first look at UDF Chinese help.)
- 2018-11-05 10:59:35下载
- 积分:1
-
通过模型决定系数完成支持向量机参数优化 SVR_fitting
说明: 通过模型决定系数完成支持向量机参数优化,并建立基于大数据的支持向量机模型实现回归拟合(The parameters of SVM are optimized by the coefficient determined by the model, and the regression fitting is realized by the support vector machine model based on big data)
- 2020-06-16 00:14:36下载
- 积分:1
-
Occam1DCSEM_V3.10
可控源电磁法(CSEM)一维反演程序,利用Occam算法(1d inversion program for CSEM)
- 2021-04-08 10:59:01下载
- 积分:1
-
PLS Extension Module
安装32bit-win的spss中PSL所需的所有安装文件,包括PythonPlugInWin32、Python2.5.4、scipy-0.6.0、numpy-1-1.0、PLS.py以及plscommand.xml并附安装说明。
第一步:安装spss17.0
第二步:安装 SPSSStatisticsPythonPlugInWin32_1700.exe
第三步:安装Python2.5.4
第四步:安装scipy-0.6.0和numpy-1-1.0
第五步:复制PLS.py文件到Python安装目录----Python25Libsite-packages
复制plscommand.xml文件到spss安装目录----SPSSIncStatistics17extensions,没有extensions文件夹就新建一个。
第六步:打开软件,导入数据,分析-回归-部分最小平方回归。Ok(Install all the installation files required by PSL in the SPSS of 32bit-win, including PythonPlugInWin32, Python2.5.4, scipy-0.6.0, numpy-1-1.0, PLS.py and plscommand.xml, and attach the installation instructions.)
- 2021-01-15 12:18:47下载
- 积分:1
-
11087 统计逆序对
说明: Description
设a[0…n-1]是一个包含n个数的数组,若在ia[j],则称(i, j)为a数组的一个逆序对(inversion)。
比如 有5个逆序对。请采用类似“合并排序算法”的分治思路以O(nlogn)的效率来实现逆序对的统计。
一个n个元素序列的逆序对个数由三部分构成:
(1)它的左半部分逆序对的个数,(2)加上右半部分逆序对的个数,(3)再加上左半部分元素大于右半部分元素的数量。
其中前两部分(1)和(2)由递归来实现。要保证算法最后效率O(nlogn),第三部分(3)应该如何实现?
此题请勿采用O(n^2)的简单枚举算法来实现。
并思考如下问题:
(1)怎样的数组含有最多的逆序对?最多的又是多少个呢?
(2)插入排序的运行时间和数组中逆序对的个数有关系吗?什么关系?
输入格式
第一行:n,表示接下来要输入n个元素,n不超过10000。
第二行:n个元素序列。
输出格式
逆序对的个数。
输入样例
5
2 3 8 6 1
输出样例
5(Set a[0... N-1] is a n array containing n numbers. If there is a [i] > a [j] i n the case of I < j, then (i, j) is a n inversion pair of a array.
For example, has five reverse pairs. Please use the idea of "merge sorting algorithm" to achieve the statistics of inverse pairs with O (nlogn) efficiency.
The number of inverse pairs of a sequence of n elements consists of three parts:
(1) The number of reverse pairs in the left half, (2) the number of reverse pairs in the right half, (3) the number of elements in the left half is greater than that in the right half.
The first two parts (1) and (2) are implemented by recursion. To ensure the final efficiency of the algorithm O (nlogn), how should the third part (3) be implemented?
Do not use O (n ^ 2) simple enumeration algorithm to solve this problem.)
- 2019-01-07 23:52:06下载
- 积分:1
-
mom-Fortran-Programs
矩量法的fortran程序,忘了那本书的源码了(Method of Moments fortran program, forgot the source of the book)
- 2021-02-02 21:29:59下载
- 积分:1
-
GEAR
吉尔算法积分一阶微分方程组初值问题的C语言描述,包括主函数、计算微分方程组中各方程右端函数值的函数程序、计算雅克比矩阵的函数程序、矩阵求逆程序等。(GEAR algorithm integral first order differential equations initial value problem of the C language description, including the main function to calculate the differential equations in the equation right function value function procedures, functions Jacobian matrix calculation procedures, matrix inversion procedures.)
- 2021-03-08 11:29:28下载
- 积分:1
-
BFFusion2a
采用贝叶斯推论的数据融合,将CHAN算法和泰勒算法的结结果经过处理,得到更好的定位结果,已通过测试。
(Bayesian inference using the data fusion, will CHAN Taylor algorithm and the results of algorrithm processed and better positioning of the results of the full source code, has been tested.
)
- 2012-05-20 23:52:30下载
- 积分:1