-
RSA大数运算
c语言写的接口,可以使用,效率不高;
里边有一个头文件和一个c文件,没有封装成类。如果需要,可以简单封装一下。
对了,返回值或参数最好改成引用或者指针
- 2023-07-12 19:50:03下载
- 积分:1
-
最优二叉查找树
C[i,j] 表示点i+1,i+2到点j中,选择任意一个点作为根,在(j-i)个解中找出成本最小的最优解
向前递推过程:
首先计算所有j-i=1的C(i, j)
然后依次计算j-i=2,3,…,n的C(i,j)。
C(0,n)=最优二分检索树的成本。
初始值
C(i,i) = 0
W(i,i) = Q(i),0≤i≤n
最优二分检索树的构造
在计算C(i, j)的过程中,记下使之取得最小值的k值,即树Tij的根,记为R(i, j)。
依据R(0, n)…,推导树的形态
- 2022-03-04 13:28:28下载
- 积分:1
-
鲍威尔,求极值的方法很容易使用和较高的精度。
鲍威尔法求极值,非常好用和精确度比较高。希望大家喜欢-Powell, seeking extreme value method is very easy to use and relatively high accuracy. Hope everyone likes
- 2022-01-26 06:54:33下载
- 积分:1
-
二进制搜索
源代码和越南船民和 frm 如何用算法二进制搜索搜索的数组中。它是有用的培训和学习 vb 二进制搜索
- 2022-02-18 13:44:44下载
- 积分:1
-
Variable gain PID algorithm c++ to achieve, the current is more PID algorithm co...
变增益PID算法的c++实现,目前PID算法较多的是c代码写的,这里上传一个C++的-Variable gain PID algorithm c++ to achieve, the current is more PID algorithm code written in c, where a C++ From the
- 2022-01-25 17:51:20下载
- 积分:1
-
基于matlab的几个kalman滤波以及多传感器融合和wk算法的程序
基于matlab的几个kalman滤波以及多传感器融合和wk算法的程序-Matlab based on several kalman filtering and multi-sensor fusion algorithm and procedures wk
- 2023-04-10 18:35:03下载
- 积分:1
-
不动点迭代――方程根的求解
不动点迭代――方程根的求解-fixed-point iteration-- Solving the equation-
- 2023-03-27 17:30:03下载
- 积分:1
-
Displays a rotatable and scaleable wire frame of any
3D mathematical function....
Displays a rotatable and scaleable wire frame of any
3D mathematical function. This can be made up from the
normal VB maths plus inverse and hyperbolic functions.
Functions can be created and saved as wanted. Image vertices
can also be saved for use elsewhere.
The MS ScriptControl Eval function simplifies calculations
enormously and its use is demonstrated. Also shown are
MoveToEx, LineTo which are much faster than the VB
equivalents and very easy to use. Included are a set of string
handling subroutines such as count characters, squeeze out
spaces, replace sub-strings etc. Commented throughout
including the 3D maths and perspective methods. All the
files are visible and the program is written for an 800x600
screen.
- 2022-02-02 12:09:47下载
- 积分:1
-
词法分析与语法分析
循环一次读取一行
对每一行:
开始出现‘ ’,‘ ","
"
继续读取下一位
对每一行:当没出现
时
出现{,
则依次判定后面的字符,
若出现
,输出这一行,再读下一行,依次判定后面的字符。
若出现},输出这一行,循环结束。
出现字母,temp+=继续读取下一位
若为字母,te
- 2022-05-17 00:27:22下载
- 积分:1
-
一个自己写的列主元高斯消去法,用Matlab实现
一个自己写的列主元高斯消去法,用Matlab实现-Wrote it myself out of a PCA Gaussian elimination, using Matlab realize
- 2022-09-27 07:20:03下载
- 积分:1