登录
首页 » Visual C++ » na7

na7

于 2011-11-27 发布 文件大小:1KB
0 415
下载积分: 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 个回复

  • saolei
    实现扫雷功能,基于c语言实现的,能够控制输入矩阵的大小(Implement demining capabilities, based on the c language, able to control the size of the input matrix)
    2013-06-25 14:29:31下载
    积分:1
  • iypeHhe
    矩阵,复数自定义数据类型的C++实现,矩阵求逆采用牛顿法,(The matrix, complex number custom data type C realization, the matrix inverse uses the Newton method,)
    2018-11-24 07:00:27下载
    积分:1
  • p2mesh
    划分网格一个开源的库,有限元的算法,很好用(Meshing an open source library = for finite element)
    2013-07-22 15:34:38下载
    积分:1
  • wolfe
    wolfe程序模块的C++算法,可以重复使用,对于解决一维搜索是很好的..(C++ algorithm wolfe program modules can be reused for solving one-dimensional search is good ..)
    2014-02-25 15:11:57下载
    积分:1
  • xb
    说明:  fluent中作液体蒸发相变的udf,非常专业,证明可行(fluent in the evaporation of liquid phase transition for udf, very professional, proved to be feasible)
    2014-04-07 10:53:26下载
    积分:1
  • JFFTfinalA
    使用JAVA模拟FFFT算法 快速傅里叶算法 (Use JAVA simulation FFFT algorithm Fast Fourier Transform Algorithm)
    2012-07-18 19:04:47下载
    积分:1
  • Project9
    用于求解超定方程组最小二乘解,稳定性高,速度快(To get the least square solution of superlattice dislocation.)
    2016-12-29 22:41:03下载
    积分:1
  • LL1 grammer
    vc++实现编译原理中的LL(1)文法的编译过程,非常好用.(vc realization of the principle of compiler LL (1) grammar compiler course, very handy.)
    2005-07-03 21:22:30下载
    积分:1
  • 1616
    把十六进制数转换为十进制数,简单方便!能用于串口通信数据处理中(The hexadecimal number is converted to a decimal number, is simple and convenient! Can be used for serial communication data processing)
    2008-03-09 14:37:30下载
    积分:1
  • 111
    由反应谱生成自己想要的人工地震波。超级有用(Simulated Earthquake)
    2020-11-25 11:09:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载