-
微分方程数值解法实验
微分方程数值解法实验--二维有限元(用C++实现)-experiment-- 2-D finite element (C achieved)
- 2022-04-12 08:36:24下载
- 积分:1
-
encryption algorithm, a mathematical formula group, the original transformed int...
加密算法,通过一组数学公式,把原文转换成密文-encryption algorithm, a mathematical formula group, the original transformed into ciphertext
- 2022-04-02 08:57:59下载
- 积分:1
-
按层打印二叉树
算法思想: 先把根结点入队,然后循环直到队列为空:出队一个结点,打印之,将其邻接点依次入队;打印和入队邻接点前要先判断是否已经打印过了,如果已打印过的就不操作 。 此算法是在visual studio2012平台下实现二叉树的层次遍历,程序需要先输入二叉树,然后会将此二叉树按曾打印
- 2022-04-18 12:41:39下载
- 积分:1
-
数值分析第八版的负担和菲尔斯
Numerical Anaysis 8th Edition Burden and Faires
- 2022-03-11 13:44:04下载
- 积分:1
-
零基础学算法 第二版光盘 源代码
- 2022-08-17 03:16:22下载
- 积分:1
-
confidence interval associated procedures
置信区间的相关程序-confidence interval associated procedures
- 2022-08-19 01:01:14下载
- 积分:1
-
水的涟漪效应
这是水涟漪效应的Qt实现。它将被用作另一个程序(ETFShop)的插件,或者如果用户愿意,可以查看代码并从代码中获得水波效应。
- 2022-02-12 09:54:05下载
- 积分:1
-
中序遍历二叉树
此算法是在VS中实现的二叉遍历算法,二叉树的基本的遍历规则有三种:前序遍历,中序遍历和后序遍历。对于每一种遍历,树中每个结点都要经过3次。前序遍历在第一次遇到结点时立即访问,中序遍历第二次遇到结点时访问,后序遍历则到第三次遇到结点时才访问。
- 2022-07-23 19:18:16下载
- 积分:1
-
找钱张数最少
二、问题
现只有面额为 11元、5元、1元的三种人民币。
给定一个 数目为 money 的人民币,如何用这三种面额的人民币 找开它,且用的人民币张数最少
如:给定 10元,我们可以有以下找法:
2张 5元面额
1张 5元面额 + 5 张 1元面额
10张 1元面额
我们 选择第一种找法。只用两张人民币。
三、分析
利用动态规划法可以找到最优解。
利用贪心算法可以找到最优解(问题满足贪心选择性质时。该找钱问题在 11、5、1三种面额的情况下不满足该性质)
或者找到近似 最优解(在本题设定的三种面额的情况下 便是如此)
如果现在要找开 15元钱,则
- 2022-03-06 11:17:09下载
- 积分:1
-
平均因子分解法应用于正定矩阵
平均因子分解法,适用于正定矩阵First, let s recall the definition of the Cholesky decomposition: Given a symmetric positive definite square matrix X, the Cholesky decomposition of X is the factorization X=U U, where U is the square root matrix of X, and satisfies:
(1) U U = X
(2) U is upper triangular (that is, it has all zeros below the diagonal).
It seems that the assumption of positive definiteness is necessary. Actually, it is "positive definite" which guarantees the existence of such kind of decomposition. -Average factor decomposition method applied to positive definite matrix First, let s recall the definition of the Cholesky decomposition: Given a symmetric positive definite square matrix X, the Cholesky decomposition of X is the factorization X = UU, where U is the square root matrix of X, and satisfies: (1) UU = X (2) U is upper triangular (that is, it has all zeros below the diagonal). It seems that the assumption of positive definiteness is necessary. Actually, it is positive
- 2022-10-16 04:30:02下载
- 积分:1