登录
首页 » Visual C++ » na7

na7

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

  • tianwen
    说明:  VC实现,天文导航算法及实现 包括数据的获取、加工、处理、保存为文件(VC, astronomy, navigation algorithm and implementation including data acquisition, processing, handling, preservation of documents)
    2020-09-29 16:17:44下载
    积分:1
  • WaterPress
    对于水轮机阀门开启、关闭的一瞬间,对于钢管有比较大的水击。该程序计算出了相对最大的水击压力。(For turbine valves opened, the closure of the moment, for a relatively large pipe water hammer. The program calculated the maximum relative pressure of water hammer.)
    2008-03-15 16:37:05下载
    积分:1
  • UDF-sa
    FLUENT里面改进的SA湍流模型,为UDF文件,可以进行链接编译计算(FLUENT which improved SA turbulence model for the UDF file can be compiled to calculate the link)
    2021-01-02 15:18:57下载
    积分:1
  • projection
    CT迭代重建算法中3维投影矩阵的生成算法,该算法对学习计算机断层层析成像很有帮助。(CT image reconstruction projection ,3D)
    2012-10-26 23:46:42下载
    积分:1
  • CYCLE
    气象数据计算超等许,能够计算在风厂中气象数据的票性诡计(meteorological data superfine promised to calculate the wind plant meteorological data of the votes sexual tricks)
    2006-10-26 21:27:26下载
    积分:1
  • areaofcircle
    一圆形游泳池如图所示,现在需在其周围建一圆形过道,并在其四周围上栅栏。 栅栏价格为35元/米,过道造价为20元/平方米。 过道宽度为3米, 游泳池半径由键盘输入。 要求编程计算并输出过道和栅栏的造价。(A circular pool as shown in figure, now in its built around to a circular corridor, and in its 4 around on the fence. The fence for 35 yuan/m price, corridor cost for 20 yuan/square metre. Aisle width is 3 meters, The radius of the swimming pool by keyboard input. Demand and output programming calculation of corridor and the cost of the fence. )
    2012-04-06 11:29:01下载
    积分:1
  • 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
  • co2
    fluent中关于co2的真实气体模型的自定义程序(fluent in about co2 real gas model custom program)
    2020-12-13 21:59:15下载
    积分:1
  • Max-IntMax-MinMin-Min
    极小 算法(Min-Min)、极大极小算法(Max-Min)、最大时间跨度算法(Max-Int)三种典型的映射算法的算法原理以及计算程序(Minimal algorithm (Min-Min), max-min algorithm (Max-Min), maximum time-span algorithm (Max-Int) three typical mapping algorithm and the algorithm of the calculation program)
    2008-04-01 20:41:46下载
    积分: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
  • 696516资源总数
  • 106914会员总数
  • 0今日下载