说明:KPMstats is a directory of miscellaneous statistics functions written by
Kevin Patrick Murphy and various other people <zhaolong> 在 上传
| 大小:82kb | 下载:0
说明:很高效的判断组合数C(n,k)的奇偶性。
巧妙的使用了位运算。时间复杂度为O(1).
避免使用大数类。-Very efficient to determine the number of combinations C (n, k) parity. Clever use of digital computing. Time complexity is O (1). To avoid the use of large numbers type. <方宇浩> 在 上传
| 大小:1kb | 下载:0
说明:大数的模运算。
a^b % m
a可以为1000位的大数,b,m在int 范围内-Large numbers of modulus operator. a ^ b ma for 1000 of large numbers, b, m in the range of int <方宇浩> 在 上传
| 大小:1kb | 下载:0
说明:用C++实现的计算方法的拉格朗日lagrange算法,但是不是太完善-With C++ The realization of the method of calculating the Lagrangian lagrange algorithm, but not too perfect <liu> 在 上传
| 大小:10kb | 下载:0
说明:这是拉格朗日程序,根据拉格朗日插直可以得到最后的结果。-This is the Lagrangian procedure, according to Lagrange interpolation straight could be the final outcome. <顾一新> 在 上传
| 大小:3kb | 下载:0
说明:这是矩阵求逆的程序。当你输入矩阵时会有逆矩阵输出。-This is the matrix inversion procedure. When you enter the matrix inverse matrix will be output. <顾一新> 在 上传
| 大小:4kb | 下载:0
说明:这是松弛法编程,它是高斯-赛德尔迭代法的一种加速收敛的方法。是大型稀疏矩阵线性方程组的有效解法之一。
-This is the relaxation method programming, it is the Gauss- Seidel iterative method to accelerate the convergence of a method. Large sparse matrix system of linear equations, one effective solutio <顾一新> 在 上传
| 大小:3kb | 下载:0