-
MD5加密算法
MD5以512位分组来处理输入的信息,且每一分组又被划分为16个32位子分组,经过了一系列的处理后,算法的输出由四个32位分组组成,将这四个32位分组级联后将生成一个128位散列值。MD5中有四个32位被称作链接变量(Chaining Variable)的整数参数,他们分别为:A=0x67452301,B=0xefcdab89,C=0x98badcfe,D=0x10325476。当设置好这四个链接变量后,就开始进入算法的四轮循环运算。循环的次数是信息中512位信息分组的数目。
- 2022-03-21 16:38:05下载
- 积分:1
-
Sicily 1009梅森素数
One of the world-wide cooperative computing tasks is the "Grand Internet Mersenne Prime Search" -- GIMPS -- striving to find ever-larger prime numbers by examining a particular category of such numbers.
A Mersenne number is defined as a number of the form (2p–1), where p is a prime number -- a number divisible only by one and itself. (A number that can be divided by numbers other than itself and one are called "composite" numbers, and each of these can be uniquely represented by the prime numbers that can be multiplied together to generate the composite number — referred to as its prime factors.)
Initially it looks as though the Mersenne numbers are all primes.
Prime
Corresponding Mersenne Number
2
4–1 = 3 -- prime
3
8–1 = 7
- 2022-03-17 05:46:40下载
- 积分:1
-
这是一个支持多位数运算(可以达到几百位的长整数)的数类,名字叫Long,它是从long类发展过来的,但比原来的long类功能多。Long类可以和原有的doubl...
这是一个支持多位数运算(可以达到几百位的长整数)的数类,名字叫Long,它是从long类发展过来的,但比原来的long类功能多。Long类可以和原有的double,long等等数据类型混合运算-This is a multi-digit support operations (which may reach hundreds of long integers) to a number of named Long, it is long from over the type of development, but more than the original multi-functional long. Long classes can be double the original, long data types, etc. Operational mixed
- 2022-01-26 07:59:30下载
- 积分:1
-
此程序为数值算法分析里的跳马算法演示程序
此程序为数值算法分析里的跳马算法演示程序-procedure for numerical algorithm analysis of the algorithm vault Demonstration Program
- 2022-01-30 12:28:59下载
- 积分:1
-
这是一段关于四种排序方法的完全源代码及其相互之间的比较,包括:Heap sort,Merge sort,Quick sort,Radix sort...
这是一段关于四种排序方法的完全源代码及其相互之间的比较,包括:Heap sort,Merge sort,Quick sort,Radix sort-This is a period of about four kinds of methods to sort the complete source code and the comparison between, including: Heap sort, Merge sort, Quick sort, Radix sort
- 2022-05-07 06:26:05下载
- 积分:1
-
Lifitime tracer.
*****************************************************
Example...
Lifitime tracer.
*** *** *** *** *** *** *** *** *****
Example:
#include
void foo()
{
TRACE_LIFETIME
usleep(100000)
}
void main()
{
foo()
}
*** *** *** *** *** *** *** *** ***
See lifetimes.log:
FUNC: void foo(), AV TTL: 00000xxxxx us (main.cpp, 000xxx)
TTL: 00000xxxxx us (THREAD ID: 0000xxxx)
******************************************************
Explanation of newly created lifetimes.log:
FUNC - function, whose lifetime we measured
AV TTL - mean (average) spent time of all functions calls
TTL - time spent on each function call
THREAD ID - thread that called a function.
*****************************************************
Description:
- was written for QT project
- multithreaded support (Loki::Singleton has multithreaded sync support)
****************************************************
Dependencies:
- QT
- Loki (A. Alexandrescu)
-Lifitime tracer.
****************************************************
- 2022-02-13 17:25:56下载
- 积分:1
-
多智能体Q学习算法设计和仿真
多智能体工具包,可直接用来进行多智能体强化学习算法设计与仿真。强化学习(reinforcement learning,又称再励学习,评价学习)是一种重要的机器学习方法,在智能控制机器人及分析预测等领域有许多应用。
- 2022-12-31 18:15:03下载
- 积分:1
-
卡尔曼滤波的C语言实现
Kalman Filter 是一个递归的估计,即只要获知上一时刻的状态估计和当前状态的观测就可以计算出当前状态的估计,不同于其他的估计技术,Kalman 滤波器不需要观测或/和估计的历史记录,KalmanFilter 是一个纯粹的时域滤波器,而不像低通滤波器等频域滤波器那样,需要在频域中设计,然后转换到时域中应用。 本代码是用C语言实现卡尔曼滤波。
- 2022-08-17 09:07:33下载
- 积分:1
-
混沌工具箱
该工具箱是研究非线性时间序列混沌与分形的有力工具,能够计算非线性时间序列的动力学不变量,如关联维数,李亚普洛夫指数等指标。此外还包含相空间重构的过程中参数的估计方法。
- 2022-04-22 23:13:45下载
- 积分:1
-
实验目的:用Lingo软件求解线性线性规划问题。
实验内容:制定最佳连续投资方案
某部门在今后五年内考虑下列项目投资...
实验目的:用Lingo软件求解线性线性规划问题。
实验内容:制定最佳连续投资方案
某部门在今后五年内考虑下列项目投资
-Experimental Objective: Lingo software for solving linear linear programming problem.
Experiment content: develop the best program of continuous investment
A department in the next five years to consider the following investment
- 2022-07-15 11:10:05下载
- 积分:1