搜索资源列表
vbC13
- 用VB语言实现偏微分方程的解法 包括解边值问题的松弛法、交替方向隐式方法等-VB language PDE solution of the boundary value problems including Xie relaxation method, alternating direction implicit methods
J_Queen
- 用JAVA实现的一个解决八皇后问题的小程序-with a solution of the Statue of eight small programs
nearpiont
- 最接近点对问题是求二维坐标中的点对问题,该算法是为了将平面上点集S线性分割为大小大致相等的2个子集S1和S2,我们选取一垂直线l:x=m来作为分割直线。其中m为S中各点x坐标的中位数。由此将S分割为S1={p∈S|px≤m}和S2={p∈S|px>m}。从而使S1和S2分别位于直线l的左侧和右侧,且S=S1∪S2 。由于m是S中各点x坐标值的中位数,因此S1和S2中的点数大致相等。 递归地在S1和S2上解最接近点对问题,我们分别得到S1和S2中的最小距离δ1和δ2。现设δ=min(δ
PebbleMerging
- 石子合并问题的解法,一道动态规划的经典问题,题目也已打包上传-cobble solution of the merger, one of the classic dynamic programming problem, the title has been wrapped up and upload
6_60
- 问题的提出:编程模拟抛硬币所得正面的频率图。假设每次抛10次为一事件, 记录每次得到正面的次数,共抛掷100000次,计算得到正面次数的概率发布,并绘图输出结果。 思路:数值概率算法常用于数值问题的求解,此类算法所得的往往是近似解,且近似解的精度 随计算时间的增加而不断提高,得到一定精度近似解就可以满足问题要求。-problem : Simulation Programming throwing coins from a positive frequency map. Assumin
solution
- 著名的算法导论(第二版)CLRS 的部分习题答案的解答-famous algorithm Introduction (2nd Edition) CLRS part of the answer to answer the questions
预测
- 数据预测算法,主要是一元n次方程的回归预测实现。* 预测分析--本算法只适用于有明显线性趋势的数据 * 默认为一元二次曲线方程法 * * 本程序主要涉及有两个算法 * 1.用最小二乘原理找到线性方程组的系数和常数。 * 2.解线性方程组 * 本程序在解线性方程组中,由于考虑到收敛性问题未采用迭代法,而是采用Gauss-Jordan消去法来解决。-data prediction algorithm is mainly one yuan n equation forecast to achieve
利用四阶龙格-库塔公式计算常微分初值问题的数值解
- 利用四阶龙格-库塔公式计算常微分初值问题的数值解,The use of fourth-order Runge- Kutta ordinary differential formula of the numerical solution of initial value problem
Dijlstra
- Dijlstra算法 对任意图,选择合适的数据结构表示图,在此基础上实现求解最短路径的Dijkstra算法-Dijlstra algorithm to arbitrary map, select the appropriate data structures that map, on this basis to achieve solution of the Dijkstra shortest path algorithm
2155
- 二维树状数组 解北大2155 http://acm.pku.edu.cn/JudgeOnline/problem?id=21-Solution of two-dimensional array tree Beijing 2155http:// acm.pku.edu.cn/JudgeOnline/problem? Id = 21
node
- 自己编写的解八数码问题的简单算法,用c++实现-I have written eight digital solution of a simple algorithm for the problem.
matrix
- Matrix operations solution of AX=B Jordan and newton Methods
guass
- 高斯消去法解线性方程组,可以解一般的线性方程-Gaussian elimination solution of linear equations can be a general solution of linear equations
d
- 【问题描述】: 设有一个背包可以放入的物品重量最重为s,现有n件物品,它们的重量分别为w[0]、 w[1]、w[2]、…、w[n-1]。问能否从这n件物品中选择若干件放入此背包中,使得放入的重量之和正好为s。如果存在一种符合上述要求的选择,则称此背包问题有解(或称其解为真);否则称此背包问题无解(或称其解为假)。试用递归方法设计求解背包问题的算法。 -【Descr iption of the problem: There is a backpack of items can be pla
devide_conquer
- 分治法解最近点对问题:首先输入点的个数,然后输入点的坐标,输出先是根据x的坐标对点进行排序,然后输出最近点对的距离。-Divide and conquer solution of the nearest point of the problem: First, the number of input points, and then enter the coordinates of points, the output first, according to the coordinates of
1404_IKeyBoard
- 题目是PKU 1404 I KEY BOARD。这是用C++实现的代码-It a the C++ solution of problem-1404 in PKU ACM on-line judge
conjugate_gradient_method
- 1. 程序运行时首先输入要求解第几题,然后输入初始点,即可得到最后结果。从程序运行结果中我们可以看到,采用共轭梯度法所得的结果比采用最速下降法所得的结果更为精确,这是由于:共轭梯度法实质上是对最速下降法的修正,使搜索方向变为共轭方向,即每一步的搜索方向都要对该步的负梯度进行修正。-1. Program run-time solution of the first type the first few questions asked, and then enter the initial poin
differentialequation
- 常微分方程的数值解法,即用欧拉法求解常微分方程的源代码,C语言-The numerical solution of ordinary differential equations, namely, Euler' s method for solving ordinary differential equations with the source code, C language
fangcheng
- 解N元一次方程,从文件读入整数 N, 然后读入N*( N+1)矩阵,得到解并输出到文件中。-Solution of N-linear equation, reading from a file into an integer N, and then read into the N* (N+1) matrix obtained solution and the output to a file.
solution-of-Towers-of-Hanoi
- 汉若塔问题的经典解法,C代码可以直接运行。-solution of Towers of Hanoi