-
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
-
KMP-string-match
编写一个使用KMP算法的字符串匹配程序。
使用方法:字符串匹配.exe -f xxx.txt -s xxx
-f 指定要查找的文件
-s 指定要查找的字符串(Writing a string matching algorithm using KMP program. How to use: string matching exe-f xxx.txt-s xxx-f to specify the file you want to find-s to specify the search string)
- 2013-12-08 01:12:46下载
- 积分:1
-
sor超松弛迭代法
一个实现sor超松弛迭代法的c语言算法,可以帮助新手完成矩阵计算(A C language algorithm for realizing over relaxation iterative method)
- 2017-06-30 09:34:56下载
- 积分:1
-
C_classical_src
平常练习的一些程序,比较基础,包括求斐波那契数、完数等等(Some of the usual practice procedures, more infrastructure, including seeking Fibonacci numbers, number, etc. End)
- 2013-11-18 21:18:19下载
- 积分:1
-
r2fft
用一个N点复序列的FFT同时计算两个N点实序列离散傅里叶变换(With an N-point complex sequence of N-point FFT calculate two real sequences discrete Fourier transform)
- 2013-05-23 20:11:50下载
- 积分:1
-
log
之前找不到合适精度的log2x函数的定点化源码,经过实现并验证后,发上来大家一起学习(fixed version for log2x)
- 2012-06-27 20:19:22下载
- 积分:1
-
FIR
FFT和FIR 快速傅里叶变换和FIR滤波器实验程序(Fast Fourier Transform FFT and FIR and FIR filter experimental procedure)
- 2009-12-15 16:20:02下载
- 积分:1
-
Levenberg-Marquardt_Method
说明: LM算法的c语言实现
拟合的函数为gauss函数(Levenberg-Marquardt Method)
- 2021-04-11 16:18:58下载
- 积分:1
-
-recursive-
天线组阵中相位差的递推最小二乘估计与滤波(Phase array antenna group recursive least squares estimation and filtering)
- 2013-12-20 13:17:48下载
- 积分:1
-
mciduoxiangshinihe
用c++实现m次多项式的曲线拟合,改程序简单易懂,可读性强(it s easy)
- 2014-07-01 18:34:09下载
- 积分:1