-
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
-
computing-theory-introduction
《计算理论导引》(作者)[美] Michael Sipser(译者)张立昂 王捍贫 黄雄 机械工业2000年2月第1版.pdf(Computational Theory,(Author) [America] Michael Sipser (translator) Zhang Li Ang Wang Hanpin Wong Hung Machinery Industry in February 2000 1st edition. Pdf)
- 2013-09-09 21:01:11下载
- 积分:1
-
9.2.2
最小二乘法拟合形如f(x)=(a+bx)/(1+cx)的函数(9.2.2(1)),并解决人口预测问题(9.2.2(2))(Least squares fit of the form f (x) = (a+bx)/(1+cx) function (9.2.2 (1)), and to solve the population prediction problem (9.2.2 (2)))
- 2021-01-01 14:38:58下载
- 积分:1
-
interpolation
说明: Neville插值算法,xa为自变量数组,xy为因变量数组;x为待插值的自变量(Neville interpolation algorithm, xa array as variables, xy array as the dependent variable x for the independent variables to be interpolated)
- 2008-09-25 16:29:52下载
- 积分:1
-
kalmanfileter_c-code
外国人写的卡尔曼滤波器算法的库,可以供大家参考,已经封装好了(kalman library)
- 2012-04-24 10:46:44下载
- 积分:1
-
MM1
用C++实现排队论中M/M/1模型。简单方便。(Using C++ implementation in the M/M/1 queuing theory model. Easy and convenient.)
- 2020-11-16 13:39:41下载
- 积分:1
-
matrix
C++中矩阵运算的实现 nr3.h为其他的书籍代码,测试环境为VS2008(Achieve C++ in matrix operations nr3 code for other books)
- 2014-10-16 10:25:43下载
- 积分:1
-
KZK
求解KZK方程的VISUAL C++源代码 具有计算速度快,计算精度高等优点。(source code solution of KZK equation visual c++)
- 2021-05-13 10:30:02下载
- 积分:1
-
Pointandsegment
判断点和线段之间的关系,包括点在线段的上,点在线段的延长线,反向延长线,点在线段外四种情况(Judge the relationship between the point and line, including the point on the line, in line at the extension of reverse extension cord, and so on.)
- 2013-01-08 14:54:18下载
- 积分:1
-
CFD-SIMULATION-OF-BOILING-FLOWS
计算机流体理论方面的文献,动网格的划分和计算(Literature, of the theory of computational fluid dynamic division and calculation of the grid)
- 2012-06-06 10:07:31下载
- 积分:1