登录
首页 » Visual C++ » na7

na7

于 2011-11-27 发布 文件大小:1KB
0 221
下载积分: 1 下载次数: 80

代码说明:

  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)

文件列表:

na7.cpp,4031,2011-11-25

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • Gauss_Seidel
    数值分析中的高斯——塞德尔迭代算法的的C语言实现(Numerical Analysis of Gauss- Seidel iterative algorithm of the C language)
    2009-05-17 12:50:19下载
    积分:1
  • LS_SVMlab
    LS_SVM 偏最小二乘结合支持向量机(The LS SVM partial least squares and Support Vector Machine)
    2012-11-22 10:08:51下载
    积分:1
  • practice6_17
    用矩阵法求定积分1/(1+x^2)dx,区间是(-4,4)(Definite Integral Matrix Method)
    2010-05-17 01:34:47下载
    积分:1
  • Aximn
    说明:  fortran弹塑性分析程序,很有用的啊!(fortran plastic analysis program, very useful)
    2021-04-15 19:48:54下载
    积分:1
  • zuijinercheng
    基于C环境下的最小二乘法的计算编程算法相当相当实用。(C based on the circumstances of the least squares algorithm for calculating the programming very well.)
    2009-05-12 23:42:37下载
    积分:1
  • fluid-1
    气泡上浮实验,基于fluent的二维模型(Bubble Floating Experiment)
    2019-03-28 21:16:57下载
    积分:1
  • fdtd_2D_TE_PML
    fdtd的2d算法,pml边界条件,二维TE波(fdtd the 2d algorithm, pml boundary conditions, 2D TE wave)
    2007-02-02 16:43:27下载
    积分:1
  • LZYGSXY
    数值分析课程必备的算法:列主元高斯消去法算法。有需要的同学下载(Numerical analysis courses required algorithms: PCA out Gaussian elimination algorithm. Those students in need to download)
    2009-01-05 22:38:00下载
    积分:1
  • FDTD_computational_electromagnetics
    很有用的一篇国外关于FDTD算法的学术论文,相信对初学者有很大帮助(Useful in a foreign academic papers on the FDTD method, I believe very helpful for beginners)
    2010-05-24 23:50:03下载
    积分:1
  • Gauss
    数值分析中用C 语言验证验证Gauss列主元消去法。(Numerical analysis using the C language to verify verify the Gauss column principal component elimination.)
    2013-03-25 21:11:32下载
    积分:1
  • 696518资源总数
  • 105429会员总数
  • 27今日下载