-
na7
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)
- 2011-11-27 11:47:21下载
- 积分:1
-
C_P
恒温减压沸腾UDF,一个基于压力计算的水蒸发UDF程序,请大家探讨一下(boiling udf of costant T and decreasing P)
- 2011-12-19 11:41:40下载
- 积分:1
-
KnapSack
Fractional knapsack problem, Greedy algorithm
- 2010-05-12 09:52:02下载
- 积分:1
-
Trilateration-Network
测绘程序,计算测边网各点坐标的评查程序,值得借鉴(Mapping program to calculate the coordinates of each point measured the side-netting of assessment investigative procedures, worth learning)
- 2013-08-20 15:13:21下载
- 积分:1
-
water-quality-model
水质模型,用于计算河流下游及河口水环境容量(use for water quality)
- 2016-01-22 16:34:35下载
- 积分:1
-
algorithms(CPP)
计算机常用数值算法与程序(C++版) (Commonly used numerical algorithm of computer and program
)
- 2014-01-04 22:46:59下载
- 积分:1
-
Chapter02.Interpolation
清华大学《数值分析A》-第02章.插值
Lagrange
Newton
Hermite
三次样条(Tsinghua University, )
- 2008-07-16 11:22:14下载
- 积分:1
-
nsga2
多目标遗传算法,求得pareto最优解集,可以用于各种工程的数学计算(Multi-objective genetic algorithm, pareto optimal solution set is obtained, can be used for a variety of engineering mathematics)
- 2016-05-13 15:06:06下载
- 积分:1
-
MM1
用C++实现排队论中M/M/1模型。简单方便。(Using C++ implementation in the M/M/1 queuing theory model. Easy and convenient.)
- 2020-11-16 13:39:41下载
- 积分:1
-
Workshop7
An example of using a matrix object in order to pass values and complete a function.
- 2015-12-10 23:32:02下载
- 积分:1