⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 threesamplet.h

📁 基于vc++的三次样条类函数的计算 ThreeSampleT
💻 H
字号:
// ThreeSampleT.h: interface for the CThreeSampleT class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_THREESAMPLET_H__9159176C_FF98_437A_8171_B3CCAE2547A6__INCLUDED_)
#define AFX_THREESAMPLET_H__9159176C_FF98_437A_8171_B3CCAE2547A6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CThreeSampleT  //三次样条插值类
{
public:
	void CaseTest_MultiP();
	void GetInterpolationValue_MultiP(double *M, double *OriginX, double *OriginY, int n, double* OutputX,double* OutputY,int MultiPN);
	double CaseTest();
	int GetXRegionNo(double* OriginX,int n,double x);
	double GetInterpolationValue(double* M,double* OriginX,double* OriginY,int n,double x);
	void Initiate(double * x,double * y);
	void T(double* x,double* y,double* M,int n);
	void Apend(double* miu,double* rmd,double* d,double* x,double* y,double* h ,double pf1,double pf2,double ppf1,double ppf2,int n,int flag);
	bool GuassSolve(double *A,double *B,double *X,int n);
	void swap(double & a, double & b);
	CThreeSampleT();
	virtual ~CThreeSampleT();

};

#endif // !defined(AFX_THREESAMPLET_H__9159176C_FF98_437A_8171_B3CCAE2547A6__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -