搜索资源列表
ercitongyufangchengdeqiujie
- 求解 形如 a*x^2+b*x+c=0 (mod p)的二次同余方程,其中p为任意素数,a,b,c为任意整数.
雅可比法
- 新手上路 用雅可比符号来计算勒让德符号的值 用于判断与素数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
Mod.rar
- 包含12个MATLAB函数,分别长生2PSK 4psk 8psk信号 和16QAM信号以及星座图 噪声程序等,12 MATLAB includes a function of longevity separately 2PSK 4psk 8psk signal and 16QAM signal constellation diagram, as well as procedures such as noise
iml
- IML package provides efficient routines to solve nonsingular systems of linear equations, certified solve any shape systems of linear equations, and perform mod p matrix operations, such as computing row-echelon form, determinant, rank profi
Ellipticcurvepublickeysystem
- 计算机安全学中椭圆曲线公钥系统的c源码 输入与输出: 请输入椭圆曲线方程y^2=x^3+cx+d(mod p)中c,d,p的值:8,10,23 椭圆曲线方程为y^2=x^3+8x+10(mod23) 请输入所取明文x的x1,x2:19,13 请输入选择的椭圆曲线上的点a0的x,y:7,8 请输入私钥a=17 选取t=3 加密的结果是(y0,y1,y2) = ((22,22),20,18) 实施解密: (c1,c2)=(18,12) x1=19
5
- 函数ReadDat()实现从文件ENG.IN中读取一篇英文文章,存入到字符串数组xx中;请编制函数encryptChar(),按给定的替代关系对数组xx中的所有字符进行替代,仍存入数组xx的对应的位置上,最后调用函数WriteDat()把结果xx输出到文件PS2.DAT中。 替代关系:f(p)=p*13 mod 256(p是数组中某一个字符的ASCII值,f(p)是计算后新字符的ASCII值),如果计算后f(p)值小于等于32或其ASCII值是偶数,则该字符不变,否则将f(p)所对
findlyap
- The alogrithm employed in this toolbox for determining Lyapunov exponents is according to the algorithms proposed in [1] A. Wolf, J. B. Swift, H. L. Swinney, and J. A. Vastano "Determining Lyapunov Exponents from a Time Series," Physica D, Vol. 1
RK
- 实验RK算法,即利用Hash方法和素数理论,首先定义一个Hash函数(hash (r) = r mod q),然后将模式串P和文本串T中长度为m的子串利用Hash函数转换成数值。显然只需比较那些与模式串具有相同Hash函数值的子串。 当然因为Hash冲突的存在,还要进一步进行字符串比较,但只要选择适当的素数q, Hash冲突的概率就会很小 -Experimental RK algorithm, namely the use of Hash methods and prime number
modified-stfd_esprit
- 提 出了基于修正空间 时频分布( S TF D) 矩阵 的 ES P RI T算法 以实现 对宽 带线性调 频信号 的到达 角估计-Th e a l g or i t h m f o r di r e c t i o n- o f- a r r i va l o f t he wi d e ba n d c hi r p s i gna l s ba s e d 0 1 3 .ESPRI T u s i n g t he mo di f i
xiaojianzhushi
- 说明 沉默是一位小的建筑师,他喜欢他的积木,使各种建筑物。现在他又有了新的问题。他要建立建设一个大小为2*2* N的积木,但他只有一种块大小为1* 1 * 2。现在,他想知道他有多少种方法可以兴建的他的积木。 输入 有几行输入。每行输入数据集。有两个整数N和P(1<= N <=10亿,1<P <= 1,000,000),在每个测试案例。输入EOF结束。 输出 对于每个测试用例,输出一个行包含一个整数,这是他可以修建的积木数量di
Primitive-root
- 给定大素数P,如果求其原根?给出算法描述。并编程实现具体功能。 利用随机数生成大素数q,P是形如2*q+1的大素数,P也为素数,若P不为素数,则重新生成大素数q,重复上述步骤。生成随机数g,1<g<p-1,要满足:g^2 mod p!=1, g^q mod p!=1, 则g为P的本原根。-Given a large prime number P, if you find its original roots? Algorithm descr iption is given. A
powmod
- An effecient algorithm to calculate the power mod (b^p)(mod n) using Dynamic Programming
sgu261
- sgu261:Discrete Roots(原根+离散对数+扩展欧几里得) 题目大意: 给你两个质数p,k,和整数a(0≤a<p),求解所有满足x^k≡a(mod p)的x。-261. Discrete Roots time limit per test: 1 sec. memory limit per test: 65536 KB input: standard output: standard There are a lot of
arimanet
- ARIMA模型全称为自回归积分滑动平均模型(Autoregressive Integrated Moving Average Model,简记ARIMA),是由博克思(Box)和詹金斯(Jenkins)于70年代初提出一著名时间序列预测方法[1] ,所以又称为box-jenkins模型、博克思-詹金斯法。其中ARIMA(p,d,q)称为差分自回归移动平均模型,AR是自回归, p为自回归项; MA为移动平均,q为移动平均项数,d为时间序列成为平稳时所做的差分次数。所谓ARIMA模型,是指将非平稳