登录
首页 » Visual C++ » na7

na7

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

  • shuzhijisuan
    数值计算实例,主要有LU分解,龙格库塔法,高斯分解法,欧拉法,曲线拟合,曲线插值(Numerical example)
    2014-01-03 10:38:53下载
    积分:1
  • vf-udf
    膜渗透 FUENT UDF 气液两相流 (Gas-liquid two-phase flow membrane permeation FUENT UDF)
    2020-12-01 16:09:26下载
    积分:1
  • simple
    流体力学SIMPLE算法(C语言编程实现)需自己设定边界条件(SIMPLE algorithm)
    2013-09-06 19:00:42下载
    积分:1
  • db
    本程序用在测试采煤机煤矸识别系统中,验证小波算法(Wavelet Algorithm for caving coal)
    2013-08-10 18:33:01下载
    积分:1
  • udf_dpm_tongji
    fluent多相流DPM模型中使用用户自定义函数对颗粒进行统计(DPM fluent multiphase flow model using user-defined functions for particle statistics)
    2020-12-06 21:09:21下载
    积分:1
  • LBM-cylinder
    用LBM结合非平衡外推方法实现的圆柱绕流,柱面边界以非平衡外推方法实现。(LBM combined with the extrapolation method of achieving non-equilibrium flow around a cylinder, cylinder boundary to achieve non-equilibrium extrapolation method.)
    2021-04-02 14:19:07下载
    积分:1
  • DosBigMath
    实现1到1000位的大数运算(包括加减乘除和浮点数运算),运行环境是vs2005(1-1000, large number operations (addition, subtraction and floating-point), the operating environment is vs2005)
    2012-05-26 21:15:29下载
    积分:1
  • Hanio
    关于汉诺塔的代码,中间是用迭代的方法实现的(About Hanio Tower)
    2012-06-28 22:59:26下载
    积分: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
  • tochnog-Masin
    TOCHNOG PROFESSIONAL,有限元开源源程序。c++语言(TOCHNOG PROFESSIONAL, finite element open source. c++ language)
    2021-04-03 09:59:06下载
    积分:1
  • 696518资源总数
  • 105179会员总数
  • 5今日下载