From 308273fef97381356e96fcd9c17011409a3c2920 Mon Sep 17 00:00:00 2001
From: kojingeun <diteam.co.kr>
Date: 수, 07 6월 2023 10:28:21 +0900
Subject: [PATCH] Ongoing50 #4517 CF AOI Review 결과 파일 찾기 실패 개선 1. Find Bin File 찾는 Library 변경  - CRT _findfirsti64 / _findnexti64 -> C++17 Filesystem directory_iterator  - 파일 탐색 시간 20k Files(80GB) 1sec 소요

---
 ReviewHistory/include/akCore/akInterpolation.h |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 48 insertions(+), 0 deletions(-)

diff --git a/ReviewHistory/include/akCore/akInterpolation.h b/ReviewHistory/include/akCore/akInterpolation.h
new file mode 100644
index 0000000..07c2a08
--- /dev/null
+++ b/ReviewHistory/include/akCore/akInterpolation.h
@@ -0,0 +1,48 @@
+#pragma once
+
+
+#include "akCoreLinker.h"
+#include <vector>
+
+namespace akCore
+{
+	class AKCORE_DLLSPEC CakInterpolation
+	{
+	public:
+		struct _Data
+		{
+			_Data()
+			{
+				x = y = 0;
+			}
+			double x;
+			double y;
+		};
+
+	public:
+		CakInterpolation();
+		~CakInterpolation();
+
+		//폴리노미얼 데이터 생성(rate:데이터 간격)
+		void CaculationPolinomial(double min, double max, double rate);
+		//큐빅스플라인 데이터 생성(rate:점과 점사이의 데이터 갯수)
+		void CaculationCubicSpline(double rate);
+		//Linear(rate:점과 점사이의 데이터 갯수)
+		void CaculationLinear(int step);
+
+		void AddPoint(double x, double y);
+		inline void ClearPoint(){m_vecInterPoint.clear();};
+		
+		inline _Data GetData(int index);
+		inline int GetDataNum(){return (int)m_vecInterPoint.size();};
+
+		
+		
+		
+	protected:
+		std::vector<_Data> m_vecOrgPoint;
+		std::vector<_Data> m_vecInterPoint;
+	private:
+		void solveTridiag(double* khb, double* diag, double* khp, double* b, int n)	;
+	};
+}
\ No newline at end of file

--
Gitblit v1.9.3