登录
首页 » Visual C++ » na7

na7

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

  • PSO
    针对传统的算法如遗传算法、粒子群算法等在TSP问题上求解精确性和求解规模上都还有一定的不足,本文提出了一种基于动态规划思想的粒子群优化算法。该算法用动态规划的方法实现粒子间的信息交互和粒子的进化,并且将粒子群中的粒子按无标度信息指导网络拓扑图的方式进行连接。仿真结果表明该方法能有效地减小误差率,提高解的精确,同时还保持了较低的计算复杂度,具有良好的稳健性。(TSP problem solving for the traditional algorithms such as genetic algorithms, particle swarm optimization accuracy and solving the scale, there is a certain lack of a dynamic programming algorithm-based particle swarm optimization algorithm. The algorithm using dynamic programming method to achieve the evolution of information exchange between the particles and the particles, and particle swarm particle scale-free information guide network topology map to connect. The simulation results show that this method can effectively reduce the error rate and improve the solution precision, while maintaining a low computational complexity, good soundness.)
    2013-01-07 18:05:35下载
    积分:1
  • Factorial
    C++的求阶乘的程序,对本科C++课程可能有些帮助(Factorial in C++ program, it maybe helpful for some C++ course)
    2011-12-22 17:46:43下载
    积分:1
  • turbulence
    计算流体动力学中湍流模型的源程序,代码十分宝贵(Computational fluid dynamics model of the source of turbulence, the code is very valuable)
    2021-01-02 15:08:57下载
    积分:1
  • Riemann-problem
    一维黎曼问题,计算流体力学,C和Frotran预言代码(Riemann problem)
    2015-04-29 09:58:22下载
    积分:1
  • fft
    说明:  实现快速离散傅里叶变换,即FFT,很有用的程序(Fast discrete Fourier transform, namely, FFT, very useful program)
    2008-10-31 13:46:14下载
    积分:1
  • fluid-1
    气泡上浮实验,基于fluent的二维模型(Bubble Floating Experiment)
    2019-03-28 21:16:57下载
    积分:1
  • code
    排样算法,用于矩阵排样优化,仅供参考,有错误请原谅,( ⊙ o ⊙ )啊!(Nesting algorithms for matrix layout optimization purposes, there is an error, please forgive me, (⊙ o ⊙) ah!)
    2015-05-02 15:41:07下载
    积分:1
  • Rongekutta
    四阶龙格库塔法函数更新四元数程序代码,采用VC编写(Fourth-order Runge-Kutta method function is updated quaternion code)
    2010-03-03 21:53:15下载
    积分:1
  • GBAS
    利用蚁群算法求解TSP问题, 从Location.dat文件输入每个城市的坐标。(The use of Ant Colony Algorithm for TSP problems Location.dat file input from the coordinates of each city.)
    2009-06-18 09:08:14下载
    积分:1
  • dp5566
    一个非线性方程的matlap程序,杜芬方程的变异(A nonlinear equations matlap program, variation of Duffing equation)
    2015-04-04 11:20:45下载
    积分:1
  • 696518资源总数
  • 104444会员总数
  • 15今日下载