搜索资源列表
fit_line
- //最小二乘法直线拟合 m_FoldList为关键点(x,y)的链表 拟合直线方程(Y=kX+b) -/ / linear least squares fitting m_FoldList as the key point (x, y) of Chain fitting linear equation (Y = C/56 b)
curvefit_C_edition
- c语言版的多项式曲线拟合。 用最小二乘法进行曲线拟合. 用p-1 次多项式进行拟合,p<= 10 x,y 的第0个域x[0],y[0],没有用,有效数据从x[1],y[1] 开始 nNodeNum,有效数据节点的个数。 b,为输出的多项式系数,b[i] 为b[i-1]次项。b[0],没有用。 b,有10个元素ok。-c language version of the polynomial curve fitting. Using least-squares met
qiufeixianxingfangchengyigeshigendelianfenshifa.ra
- 1.功能 利用连分式法求非线性方程f(x)=0的一个实根(C语言) 2.参数说明 double *x : 指向迭代初值,返回时指向迭代终值 double eps : 控制精度要求 double (*f)() : 指向计算f(x)值的函数名(由用户自编) int pqrt() : 函数返回迭代次数 3.文件说明 pqrt.c为函数程序 pqrt0.c为主函数程序-1. Continued Fractions functional method usi
zhouqi_new
- 追赶法解周期性方程 输入:a[],b[],c[],x[] 输出:求解结果X在x[]中-chased cyclical equation method of input : a [], [] b, c [] [] x output : Results for the X x []
CubicMultinomialRegress
- 一、 一元三次回归方程 CubicMultinomialRegress.cs 方程模型为Y=a*X(3)+b*X(2)+c*X(1)+d public override double[] buildFormula() 得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是d,c,b,a。 以后所述所有模型的系数存放均与此相同(多元线性回归方程除外)。 public override double forecast(double x) 预测函数,根据模型得到预测结果
integral.c
- Using 3 methods to integrate the function f(x) = 1/(1+x*x)
有限元一维C++源码
- 本程序写出了一个完整的一维有限元程序算列,列子如下 d^2u/dx^2=sin(x); u(0)=0,du(1)=0. u=sin(x);区间[0,2*pi].
femod1
- FEMOD1 is an interactive program for the setup, solution, and printout of a two point boundary value problem in a one dimensional region. The finite element method is used. The differential equation has the form: -d/dX ( K(X) dU/dX ) + C(
cos-x
- 这个是余玄函数的c++程序,觉的还是蛮重要的基础代码程序-This is Yu Xuan function c++ program, it feels pretty important basis or source program
least-square-method-using-c-language
- 该程序通过依次输入已知点个数n,输入已知点的X坐标,输入已知点的Y坐标直接得到经最小二乘法拟合得到的一元线性方程。-The procedure followed by the number of known points in the input n, enter the coordinates of a known point X, Y coordinates of a known point input directly from the least squares fitted by a
pro
- 程序从SIR-C/X-SAR原始CEOS数据文件中提取极化散射矩阵-The program is extracted from the the SIR-C/X-SAR original CEOS data files polarization scattering matrix,
newton-C-
- 插值法利用函数f (x)在某区间中若干点的函数值,作出适当的特定函数,在这些点上取已知值,在区间的其他点上用这特定函数的值作为函数f (x)的近似值-Interpolation method using function f (x) in a certain interval in some point of function value, the appropriate specific function, in these points from the given value, in th
c--source-code
- 输入三个整数x,y,z,请把这三个数由小到大输出-Enter three integers x, y, Z, please take this three number of small to large output
cmean
- 对于有缺测值的数据取平均 使用: y=cmean(x,k,c) x为包括有nan的数据,仪器观测中经常会出现 k为对x取第几维方向的平均 c的值可以控制缺测的条件,例如c取50,表示这一维方向上,如果有值的观测超过50个值才取平均,否则取nan;如果c取-5,表示缺测数在5以下时才做平均,否则返回nan-calculate the statistical mean of data but tick off nan Usage y=cmean(x,|k) or y
csum
- 对有缺测的数据求和 用法: y=csum(x,k,c) x为有缺测的数据,如仪器观测数据 k为对第几维求和 c为控制条件,如c为50,表示有50个以上的观测时才求和,否则为nan;如c为-5,表示缺测在5次以下才求和,否则nan-calculate the statistical sum of data but tick off nan Usage: y=csum(x,|k) or y=csum(x,k,|c), k can be [] [m,n,...]
Quadratic-Programming
- 功能:用拉格朗日方法求解等式约束二次规划:min f(x)=0.5*x Hx+c x,s.t.Ax=b 输入:H,c分别是目标函数的矩阵和向量,A,b分别是约束条件中的矩阵和向量 输出:(x,lam)是KT点,fval是最优值。-Function: Lagrangian method for solving equality constrained quadratic programming: min f (x) = 0.5* x Hx+ c x, s.t.Ax = b Input:
shanks-a^x=amolb
- 商科斯(shanks)算法的C语言实现,内含多种子算法-Shanks in C
Trigonmetric-Table.c
- It has been shown that trigonometric functions can be expanded using power series. Since x^k/k! → 0, the power series always converges to the exact value. For relative small x, these power serieses do not need many terms to converge. Thus, one ca
Seismic-File-X-ray-master
- 本程序使用c++语言编写,实现读取segy地震数据的功能(This program is written in c++ language to realize the function of reading segy seismic data)
niudundiedai
- 已知f(x)=x^3-6x^2+20,用牛顿迭代法求区间【-3,6】内所有根,精度为10^5。(Known f (x) =x^3-6x^2+20, the Newton iteration method is used to find all the roots within the interval [-3,6] and the precision is 10^5.)