22 * @Organization: SUSTech
33 * @Author: nanoseeds
44 * @Date: 2020-05-07 10:59:03
5- * @LastEditTime: 2020-05-07 11 :13:28
5+ * @LastEditTime: 2020-06-18 19 :13:35
66 * @License: CC-BY-NC-SA_V4_0 or any later version
77 -->
8- CS205_C_CPP_2020S_project_matrix
9- details look at project-matrix.md
8+ ## CS205_C_CPP_2020S_project : matrix
9+
10+ details look at ` ./material/project-matrix.md `
11+
10121 . All code(in this project,include * .c,* .cpp,* .h,* .hpp,CMakeLists.txt,etc) based on AGPL3.0(or any later version).
1113
12142 . All * .md files are based on CC-BY-NC-SA-4.0(or any later version).
1315
14- 3 . 确保文件夹所在目录下存在` catch.hpp ` ` catch_main.cpp ` (只需要两行,` #define CATCH_CONFIG_MAIN #include "./catch.hpp" ` ).
15- 然后添加到` CS205_project_2020S/src ` 到Cmakelist.txt中即可.
16+ 3 . 如果将此project作为子module使用.
17+ + 确保上层文件夹所在目录下存在
18+ + ` catch.hpp ` : Catch2 的头文件
19+ + ` catch_main.cpp ` :
20+ 只需要两行
21+ ``` cpp
22+ #define CATCH_CONFIG_MAIN
23+ #include " ./catch.hpp"
24+ ```
25+ + 还不清楚可以参考 https:// github.com/Certseeds/CS205_C_CPP 的结构
26+ + 然后添加到`CS205_project_2020S/src`到`Cmakelist.txt`中即可.
27+
28+ 4 . 如果单独使用此project
29+ + 将上层文件夹,替换为本文件夹内,
30+ + 简单的替换一下`CmakeList.txt`中的内容
31+ + 替换下述文件中的`./../../* `为`./`
32+ + `Matrix.hpp`
33+ + `test_matrix_1.cpp`
34+ + `test_matrix_2.cpp`
35+ + etc
1636
17- 4 .
37+ 5 .
1838 + 单元测试: test_matrix_1.cpp
1939 + 整体测试: test_matrix_2.cpp
40+ + O0,O1,O2,O3下均无异常.
41+
42+ 6. group-member
43+ + [huyuhao](https://github.com/huyuhao412)
44+ + inverse
45+ + reshape and slice.
46+ + [Wjia](https://github.com/Wjia0628)
47+ + eigenvalue
48+ + eigenvectors
49+ + max,min,sum,avg and their row/col's version.
50+ + me: other codes, code review, etc.
51+
52+ 
53+
54+ [][Catch2_2.12.2]
55+
56+ [][OpenCV_3.4.10]
2057
2158[][agpl_3_0]
2259
@@ -30,4 +67,8 @@ details look at project-matrix.md
3067
3168[cc_by_nc_sa_4_0_image]: https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png
3269
33- [ agpl_3_0 ] : https://opensource.org/licenses/AGPL-3.0
70+ [agpl_3_0]: https://opensource.org/licenses/AGPL-3.0
71+
72+ [Catch2_2.12.2]: https://github.com/catchorg/Catch2/releases/tag/v2.12.2
73+
74+ [OpenCV_3.4.10]: https://github.com/opencv/opencv/releases/tag/3.4.10
0 commit comments