-
Started Jacobian symbols used to calculate Legendre symbol for the value judgmen...
新手上路 用雅可比符号来计算勒让德符号的值 用于判断与素数p互素的正整数n是否是mod p 的二次剩余-Started Jacobian symbols used to calculate Legendre symbol for the value judgment and mutual-p-a positive integer n is whether the mod p Quadratic Residue
- 2022-07-24 00:22:37下载
- 积分:1
-
非递归解决斐波那契数列问题
递归的缺点:
–递归算法解题相对常用的算法如普通循环等,运行效率较低。因此,应该尽量避免使用递归,除非没有更好的算法或者某种特定情况,递归更为适合的时候。在递归调用的过程当中系统为每一层的返回点、局部量等开辟了栈来存储。递归次数过多容易造成栈溢出等
–执行时间长、占用空间多
–主要原因:递归调用时的现场保护与恢复(相对于迭代过程而言)
一个反复执行过程,可否用循环结构实现?
递归调用时,返回点怎么记录?
递归返回时,如何接着以前的断点继续执行?
返回值如何处理:若当前是较深一层的递归调用,如何将返回值返回到上一层递归过程的引用位置上?
系统栈:保护现场、保存返回值、返回地址
- 2023-01-28 00:35:03下载
- 积分:1
-
a calculation of two pools and a small collection procedures
一个计算两个集合的并集的小程序-a calculation of two pools and a small collection procedures
- 2022-06-21 22:41:11下载
- 积分:1
-
from regular
从正则式转化为有穷自动机-from regular-into DFA
- 2022-08-22 01:19:02下载
- 积分:1
-
一款开源基于电子电路理论支持编写的电子电路模拟和分析小软件,可以对电子电路初学者进行模拟试验有点帮助。支持简单电路、串联电路、并联电路、交流电路的R,L,C串行...
一款开源基于电子电路理论支持编写的电子电路模拟和分析小软件,可以对电子电路初学者进行模拟试验有点帮助。支持简单电路、串联电路、并联电路、交流电路的R,L,C串行电路,交流电路的双回路电路,交流电路的三回路电路的模拟和分析,并提供输出结果和线路图。-An open source-based electronic circuit theory to support the preparation of electronic circuit simulation and analysis of small software, can be carried out on the electronic circuit simulation beginners to some extent. Support a simple circuit, series circuit, parallel circuit, communication circuit R, L, C serial circuit, the exchange of double-loop circuit circuits, communication circuits three-loop circuit simulation and analysis, and provide output results and the circuit diagram.
- 2022-01-26 06:21:45下载
- 积分:1
-
opencv 视频识别
opencv 视频识别
- 2022-10-16 19:20:05下载
- 积分:1
-
EFG2D-hole,带孔圆板问题的EFG程序,matlab
程序为采用matlab写的一个带孔圆板的EFG程序,这是一个学习和验证算法的标准算例,给出了可调控网格密度的网格生成程序,做数值算法的必学的程序
- 2023-04-20 22:05:03下载
- 积分:1
-
输入三角形的三点坐标,计算三角形面积,周长
输入三角形的三点坐标,计算三角形面积,周长-Enter the three coordinates of the triangle to calculate the triangle area, perimeter
- 2022-08-25 19:47:59下载
- 积分:1
-
如何求K类均值,从给出的多维矩阵中可以求得K类动态均值,
如何求K类均值,从给出的多维矩阵中可以求得K类动态均值,-How to order K-type mean, from the given multi-dimensional matrix can be obtained in the K-means type of dynamic,
- 2022-01-21 05:53:11下载
- 积分:1
-
fast Ica matlab算法,经过试验验证了,希望对大家有用处
fast Ica matlab算法,经过试验验证了,希望对大家有用处-fast algorithm, the test after test, we hope to be useful
- 2023-07-30 05:00:03下载
- 积分:1