资源列表
TestAlgorithm
- 求花朵数的JAVA代码实现 一个N位的十进制正整数,如果它的每个位上的数字的N次方的和等于这个数本身,则称其为花朵数。 例如: 当N=3时,153就满足条件,因为 1^3 + 5^3 + 3^3 = 153,这样的数字也被称为水仙花数(其中,“^”表示乘方,5^3表示5的3次方,也就是立方)。 当N=4时,1634满足条件,因为 1^4 + 6^4 + 3^4 + 4^4 = 1634。 当N=5时,92727满足条件。 实际上,对N的每个取值,可能有多个数字满足条件。
newton
- 在VC6.0平台上实现的浅显易懂的牛顿迭代算法,在物理化学数值分析中相当有用。-VC6.0 platform implemented in easy to understand the Newton iterative algorithm, the numerical analysis in physical chemistry is useful.
HuaDuoTree_Algorithm
- 一个N位的十进制正整数,如果它的每个位上的数字的N次方的和等于这个数本身,则称其为花朵数。 例如: 当N=3时,153就满足条件,因为 1^3 + 5^3 + 3^3 = 153,这样的数字也被称为水仙花数(其中,“^”表示乘方,5^3表示5的3次方,也就是立方)。 当N=4时,1634满足条件,因为 1^4 + 6^4 + 3^4 + 4^4 = 1634。 当N=5时,92727满足条件。 实际上,对N的每个取值,可能有多个数字满足条件。 程序的任务是:求N=2
2Unary-quadratic-equation
- 用visual c++解一元二次方程。方程的各系数由读者自行给出。-To solve Unary quadratic equation by useing visual c++ . The coefficients of equation are given by the reader .
5To-transposed-the-matrix
- 对读者自行给定的指定大小的矩阵矩阵进行转置。-To transposed the matrix if you give a specified size matrix.
6multiplication-of-two-matrix
- 对读者指定的两个矩阵进行矩阵的乘法运算。前提是这两矩阵可以相乘。-To realize the multiplication of two matrix . The premise is the two matrix can be multiplied.
yxy
- 对区域作三角形剖分,对节点和单元编号。用有限元方法的简单程序-For the triangulation of the region, number of nodes and elements. Filing with the finite element method program
CalCulate
- 计算字符串型表达式,例如字符串"4+6/2",调用该过程即可直接返回7,效率高,无错误。-calculate the value of a string
currency-exchange
- 利用C++实现货币兑换的贪心算法,取得货币兑换的最优解。-Using C++ implementation of the greedy algorithm currency exchange, currency exchange obtained the optimal solution.
suijishu
- 产生伪随机数,很接近真正的随机数,基本无重复。-Pseudo-random number generation, very close to true random numbers, almost no repetition.
Jacobidiedaifa
- 由于求解方程时的计算速度比较慢,所以引入了雅克比迭代法的计算法,加快了计算速度。-Since the calculation of solving equations is slow, so the introduction of the calculation of Jacobian iteration method to accelerate the calculation speed.
CROSSWELL-SEISMIC-SIRT
- SIRT算法程序用于计算大型的、稀疏的、常常是病态的线性方程组-SIRT algorithm program used to calculate the large, sparse, often morbid linear equations
