登录
首页 » Visual C++ » na7

na7

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

  • nihe
    最小二乘法拟合进行n次多项式拟合,N用来控制拟合的次数,例如N=5时进行4次多项式拟合,还回的是拟合系数(Least squares fit polynomial n times, N is used to fit the number of control, e.g., N = 5 When quartic polynomial fitting, further back are fitting coefficients)
    2021-02-14 15:39:49下载
    积分:1
  • szpGauss
    用C++实现的高斯混合模型的算法类,方差矩阵是对角矩阵(C++ Gaussian mixture model algorithm category, variance matrix is diagonal matrix)
    2005-08-09 16:32:03下载
    积分:1
  • Factorial
    C++的求阶乘的程序,对本科C++课程可能有些帮助(Factorial in C++ program, it maybe helpful for some C++ course)
    2011-12-22 17:46:43下载
    积分:1
  • polyfit
    C语言实现多项式的最小二乘拟合,可用于在区间上对函数进行拟合(C language polynomial least squares fitting, can be used to fit the function on the interval)
    2021-02-19 12:39:44下载
    积分:1
  • 3803
    关于非线性离散系统辨识,小波包分析提取振动信号中的特征频率,有小波分析的盲信号处理。( Nonlinear discrete system identification, Wavelet packet analysis to extract vibration signal characteristic frequency, There Wavelet Analysis Blind Signal Processing.)
    2017-05-08 17:46:22下载
    积分:1
  • Project9
    用于求解超定方程组最小二乘解,稳定性高,速度快(To get the least square solution of superlattice dislocation.)
    2016-12-29 22:41:03下载
    积分:1
  • drop
    使用fluent udf编程,实现水滴在空气中的运动描述。(Use fluent udf programming, to achieve the movement of water droplet in the air.)
    2014-06-13 14:27:10下载
    积分:1
  • juzhenhanshu
    传输矩阵法用于计算光纤光栅的有效折射率,是一种经典的数学算法(Matrix function)
    2013-09-23 13:48:14下载
    积分:1
  • mabExpress_src
    任意数学表达式计算的源码及测试软件 (Calculation of arbitrary mathematical expression of the source code and test software)
    2009-04-12 22:26:39下载
    积分:1
  • Generator
    这些代码可以用于产生一系列随机数,可以根据需要使用。(These codes can be used to generate a series of random numbers may be used as needed.)
    2013-07-10 14:19:34下载
    积分:1
  • 696518资源总数
  • 106245会员总数
  • 18今日下载