-
na7
Orthogonal Polynomials Approximation
数值分析,计算正交基多项式的系数
(Given a function f and a set of m >0 distinct points . You are supposed to write a function to approximate f by an orthogonal polynomial using the exact function values at the given m points with a weight assigned to each point . The total error must be no larger than a given tolerance.
Format of function
int OPA( double (*f)(double t), int m, double x[], double w[], double c[], double*eps )
where the function pointer double (*f)(double t) defines the function f int m is the number of points double x[] contains points double w[] contains the values of a weight function at the given points x[] double c[] contains the coefficients of the approximation polynomial double*eps is passed into the function as the tolerance for the error, and is supposed to be returned as the value of error. The function OPA is supposed to return the degree of the approximation polynomial.
Note: a constant Max_n is defined so that if the total error is still not small enough when n = Ma)
- 2011-11-27 11:47:21下载
- 积分:1
-
R-K
四阶龙格库塔法,用C++编写,很有参考价值(Fourth-order Runge-Kutta method, written in C, a good reference)
- 2011-12-29 20:44:34下载
- 积分:1
-
zuiyouhuasuanfa
包括牛顿法,阻尼牛顿法,变尺度算法,最速下降法的优化算法程序。(Newton' s method, damped Newton method, variable metric algorithm, the steepest descent method optimization algorithm.)
- 2013-03-24 15:51:53下载
- 积分:1
-
MillerRabin()
素性检测的miller-rabin算法。。。。。(Primality testing)
- 2011-11-23 16:56:41下载
- 积分:1
-
fajri
music高阶谱分析算法,IDW距离反比加权方法,BP神经网络用于函数拟合与模式识别。( music higher order spectral analysis algorithm, IDW inverse distance weighting method, BP neural network function fitting and pattern recognition.)
- 2017-05-23 02:04:12下载
- 积分:1
-
distance
C++程序求两点距离 可以点入坐标点(C++ program distance between two points)
- 2013-01-08 22:03:02下载
- 积分:1
-
222
一个仓本模型计算程序,用于计算奇异态和序参量(a program of kuramotto)
- 2021-03-10 22:29:26下载
- 积分:1
-
Semiparametric
半参数回归模型在测绘领域中的应用,先利用多期数据构建半参数回归模型,然后再预报未来多期数据(Semiparametric regression model applied in the field of surveying and mapping, the first use of multi-phase data to construct semi-parametric regression model, and then predict the future multi-phase data)
- 2013-07-12 16:22:14下载
- 积分:1
-
QR-decomposition
QR分解法是目前求一般矩阵全部特征值的最有效并广泛应用的方法,一般矩阵先经过正交相似变化成为Hessenberg矩阵,然后再应用QR方法求特征值和特征向量。它是将矩阵分解成一个正规正交矩阵Q与上三角形矩阵R,所以称为QR分解法,(QR decomposition
)
- 2020-08-31 01:08:10下载
- 积分:1
-
KMP-string-match
编写一个使用KMP算法的字符串匹配程序。
使用方法:字符串匹配.exe -f xxx.txt -s xxx
-f 指定要查找的文件
-s 指定要查找的字符串(Writing a string matching algorithm using KMP program. How to use: string matching exe-f xxx.txt-s xxx-f to specify the file you want to find-s to specify the search string)
- 2013-12-08 01:12:46下载
- 积分:1