c++高斯消元法设计 #include#include#include#includeusingnamespacestd;//申明外联函数//voidgauss();voidselect_main(intk,float**p,intm);voidshow(intm,intn,float**p);voidanswer(in
三次样条插值代码 #include#include#includeusingnamespacestd;classscyt{float*x,*y,*d,*h,*u,*q,*a,*b,*c,*l,*r,*o,*M;intm;floaty0,y3;public:scyt();voidqiudao();voidzgf();v
c++追赶法代码 #includeusingnamespacestd;classchasing{intm;float*a,*b,*c,*d,*l,*u,*y,*x;public:chasing();voidget_l();voidget_y();voidget_x();~chasing();};voidmain(){
c++多项式拟合 #ifndefFUNCTION_H_#defineFUNCTION_H_#include#include#include"polyfit.h"#includeusingnamespacestd;dxs::dxs(){ifstreamfin("多项式拟合.txt");fin>>n;x=newfloat