-
直接分解算法
* To factor the n by n matrix A = (A(I,J)) into the product of the* lower triangular matrix L = (L(I,J)) and U = (U(I,J)), that is* A = LU, where the main diagonal of either L or U consists of all ones:** INPUT: dimension n; the entries A(I,J), 1
- 2023-06-21 06:30:04下载
- 积分:1
-
素数环: 把从1到10这10个数摆成一个环,要求相邻的两个数的和是一个素数。 〖问题分析〗 这是一道回溯的题目。从1开始,每个空位有9种可能,每种可能加入约束...
素数环: 把从1到10这10个数摆成一个环,要求相邻的两个数的和是一个素数。 〖问题分析〗 这是一道回溯的题目。从1开始,每个空位有9种可能,每种可能加入约束条件即可
1.与前面所有的数不重复
2.与前一个数和为素数(最后一个和第一个也要满足)。 〖算法流程〗 1、数据初始化; 2、递归填数: 判断第J种可能是否合法; A、如果合法:填数;判断是否到达目标(10个已填完): 是,打印结果;不是,递归填下一个; B、如果不合法:选择下一种可能;-Prime Central: 1-10 from 10 the number of put this into a ring, asked the two adjacent numbers and is a prime number. 〗 〖Analysis is a retrospective this topic. From 1 year, 9 out of every space possible, each may be bound by the conditions of accession to 1. And in front of all the number of non-repetition, 2. With a few and for a prime number (the last and the first to meet). 1〗 〖algorithm processes the data to initialize 2, fill in the number of recursion: first to determine the legality of J possible A, if the legitimate: the number of Reclamation to determine whether the target (10 have been completed): Yes, print the results of not, fill in the next recursive B, if not legitimate: a possible alternative
- 2022-03-13 12:39:07下载
- 积分:1
-
马科维茨风险模型的仿真程序
本程序主要用于马科维茨风险投资组合模型的仿真。程序利用收益率矩阵和二次规划进行投资组合的最优化计算,程序简练实用,有数据以及实例说明。
- 2022-10-09 16:40:03下载
- 积分:1
-
GN算法java实现
GN算法的JAVA实现, 需要安装Graphviz2.38等能够直接生成图像, 如不需要, 请自行修改相应代码.
- 2022-02-03 12:18:30下载
- 积分:1
-
用动态规划解矩阵连乘问题
用动态规划解矩阵连乘问题-use dynamic programming solution matrix continually multiply problems
- 2022-07-01 22:07:17下载
- 积分:1
-
动态反馈控制算法
采用ARIMA模型和广义预测控制进行反馈预测,结合ARIMA模型周期性预测和广义控制预测实时性特点,提高短时预测精度
- 2022-01-30 12:58:58下载
- 积分:1
-
算法设计与分析 哈夫曼树及哈夫曼编码 贪心算法
一个记录字符及出现频率的文件如下所示:huffman.haf7a,45b,13c,12d,16e,89f,34g,20试编写一个读取此种格式文件类CHuffman, 内部机制采用优先队列,用于建立Huffman树及进行Huffman编码输出,其用法可以如下所示: CHuffman hm("hu
- 2022-03-10 07:52:22下载
- 积分:1
-
数字信号处理 实验 的matlab 源码
数字信号处理 实验 的matlab 源码-Digital signal processing matlab source experiment
- 2023-04-16 04:40:03下载
- 积分:1
-
simLSH 的 java 源代码
这个项目的目的是决定两文本实例的相似度,并举例支持中文处理。
- 2022-06-16 15:29:38下载
- 积分:1
-
计算Pi的程序, 是老程序了, 不过很牛.
值得收藏!
计算Pi的程序, 是老程序了, 不过很牛.
值得收藏!-Pi calculation procedures, the old procedures, but very cattle. Copies!
- 2023-06-20 17:25:03下载
- 积分:1