摘要: 1.使用 https://glad.dav1d.de/ 生成 glad.h 头文件(用来动态加载Opengl函数指针) 2.下载 https://www.glfw.org/ glfw 二进制库(GUI库) #define GLFW_INCLUDE_NONE #include "glad.h" #in 阅读全文
posted @ 2021-03-04 17:30 學海無涯 阅读(366) 评论(0) 推荐(0) 编辑
摘要: PlaneVector.hpp #ifndef PlaneVector_h__ #define PlaneVector_h__ template<typename coordinate_type> struct PlaneVector { coordinate_type x; coordinate_ 阅读全文
posted @ 2021-03-04 10:18 學海無涯 阅读(140) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <string> #include <vector> #include <cmath> //Polar coordinate system using Point = std::pair<double, double>; //https:// 阅读全文
posted @ 2021-03-04 10:15 學海無涯 阅读(693) 评论(0) 推荐(0) 编辑
摘要: #include <algorithm> //https://en.wikipedia.org/wiki/Feature_scaling std::vector<double> rescaling_normalization(const std::vector<double> &in,double 阅读全文
posted @ 2021-03-04 10:03 學海無涯 阅读(203) 评论(0) 推荐(0) 编辑