搜索资源列表
sanciyangtiao
- 其基本思想是取B样条函数 为及基函数,在[a,b]中均匀划分区间,xi=a+ih,h=(b-a)/n,由于三次样条函数空间是n+3维的,所以把分点扩充到x-1,xn+1,则任意三次样条函数可用 线性组合来表示:-The basic idea is to take B-spline function and basis functions in [a, b] in the evenly divided intervals, xi = a+ ih, h = (ba)/n, because the c
huangjin
- #include<stdio.h> #include<math.h> float Function(float x) void main() { float a,b,e float x0,x1,x2,F0,F1,F2 printf("input a ,b ,e \n") scanf(" f f f",&a,&b,&e) x1=b-0.618*(b-a) x2=a+0.618*(b-a) F1=Func