登录
首页 » Visual C++ » na7

na7

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

  • KMEANS
    This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen. Usage for KMEANS is: KMEANS SOURCEFILE <enter> The format of the source file is: NPat - Number of patterns (int) SizeVect - Size of vector (int) NClust - Number of cluster centers(int) vect[1,1] ... vect[1,SizeVect] - vector 1 (real) vect[2,1] ... vect[2,SizeVect] - vector 2 (real) . . . . . . vect[NPat,1] ... vect[NClust,SizeVector] - vector N (real) To compile: ICC KMEANS.CPP <enter> (This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers using the K-means algorithm. Output is directed to the screen. Usage for KMEANS is: KMEANS SOURCEFILE <enter> The format of the source file is: NPat - Number of patterns (int) SizeVect - Size of vector (int) NClust - Number of cluster centers(int) vect[1,1] ... vect[1,SizeVect] - vector 1 (real) vect[2,1] ... vect[2,SizeVect] - vector 2 (real) . . . . . . vect[NPat,1] ... vect[NClust,SizeVector]- vector N (real) To compile: ICC KMEANS.CPP <enter> )
    2013-01-05 23:11:23下载
    积分:1
  • Ansys-bridge
    ANSYS 分析一座预应力连续刚构桥的命令流,很实用哦(ANSYS analysis of a prestressed continuous rigid frame bridge command stream, and very practical!)
    2012-05-30 12:01:35下载
    积分:1
  • WilsonMethod
    进行结构响应分析的Wilson法,是直接积分的基本算法之一,相信进行有限元动力分析编程的诸位都能用上(structural response analysis of Wilson, which is direct integration one of the basic algorithm, believe that the dynamic finite element analysis program you can use)
    2006-07-09 11:15:54下载
    积分:1
  • wedg140
    fortran程序,计算应力强度因子和特征值和特征向量,研究多种材料接触(fortran program)
    2014-09-22 10:47:40下载
    积分:1
  • cdq.rar
    基于时间序列法的超短期电力负荷预测 利用时间序列法进行数学建模(Mathematical modeling based on very short-term power load time series forecasting using time series method)
    2021-04-29 11:08:43下载
    积分:1
  • FFT
    说明:  该文件是用C语言实现快速傅里叶变换的源代码,需要的朋友快下载(The document is used C language to achieve fast Fourier transform of the source code, need friends fast download)
    2009-08-08 16:08:03下载
    积分:1
  • NEWTONDIEDAI
    用C++来实现NEWTON迭代法解非线性方程算法数值分析,是数值分析里典型的一个算法。(In C++ to achieve NEWTON iterative numerical algorithm for solving nonlinear equations, numerical analysis is in a typical algorithm.)
    2011-10-09 21:58:54下载
    积分:1
  • RNN-RTRL-train
    递归神经网络-实时学习训练算法代码,亲测可用,简洁无误,容易上手。( Recursive neural network- real-time learning training algorithm code, pro-test available, simple and correct, easy to use.)
    2021-01-21 09:08:41下载
    积分:1
  • 2_Brusselator_Heun_period_boundary
    经典非线性动力学模型,布鲁塞尔子模型,可直接运行,运算效率高。(nonlinear dynamics Brusselator model)
    2014-01-18 22:16:57下载
    积分:1
  • reynoldre
    湍流模型re计算流体力学软件udf 可以用于修改UDF文件(turbulence model FLUENT)
    2021-01-02 15:18:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载