{"id":21396968,"url":"https://github.com/tcl606/matrix","last_synced_at":"2025-07-13T20:31:43.351Z","repository":{"id":42020671,"uuid":"428382692","full_name":"TCL606/Matrix","owner":"TCL606","description":"C++ / C# Matrix Processing Library","archived":false,"fork":false,"pushed_at":"2022-04-18T03:27:19.000Z","size":2574,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-09-14T10:18:59.398Z","etag":null,"topics":["algorithm","linear-algebra","matrix"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TCL606.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-15T18:45:25.000Z","updated_at":"2023-09-14T10:18:59.399Z","dependencies_parsed_at":"2022-08-12T02:31:28.531Z","dependency_job_id":null,"html_url":"https://github.com/TCL606/Matrix","commit_stats":null,"previous_names":[],"tags_count":3,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TCL606%2FMatrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TCL606%2FMatrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TCL606%2FMatrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TCL606%2FMatrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TCL606","download_url":"https://codeload.github.com/TCL606/Matrix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225912308,"owners_count":17544143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","linear-algebra","matrix"],"created_at":"2024-11-22T14:31:04.754Z","updated_at":"2024-11-22T14:33:00.792Z","avatar_url":"https://github.com/TCL606.png","language":"C#","readme":"# C++ / C# Matrix Processing Library\n\n## Brief Introduction\n\n- this is a matrix processing library for C++ or C#, which can be convenient for matrix operations.\n  - C++ version is at Matrix/TCL_Matrix.h on master branch\n  - C# version is at CSharp_Matrix on master branch\n\n- GUI program for matrix calculation has been released. You are welcome to download and use the latest version. Please see detailed instructions at [MatrixCal/README.md](https://github.com/TCL606/Matrix/blob/main/MatrixCal/README.md)\n\n- C++ and C# libraries implement almost the same algorithms, including\n\n  - Basic Calculation\n\n    - Addtion\n\n    - Multiplication\n    - Transpose\n\n  - Matrix common operations:\n\n    - Get the inverse of a matrix\n\n    - Matrix Gauss-Jordan elimination\n\n    - Matrix LU decomposition\n\n    - Find the rank of the matrix\n\n    - Get determinant\n\n    - Matrix fast power\n    - Solve linear equations\n    - Find the null space of the matrix\n    - Get trace of a matrix\n    - Matrix QR decomposition\n\n  - Common numerical calculation\n\n    - Calculate the matrix norm\n    - Calculate the spectral radius of the matrix\n    - Find all singular values of any matrix (excluding multiple roots)\n    - Find all (complex) eigenvalues of any matrix (including multiple roots)\n\n  - Matrix advanced operations\n\n    - Obtain the coefficients of the square matrix characteristic polynomial\n    - Matrix SVD decomposition\n    - Get the Moore-Penrose generalized inverse of any matrix\n\n\n## Related instructions\n\n- As for solving the eigenvalue and singular values of the matrix, if the problem is highly sensitive, the calculated eigenvalue/singular values may be biased\n- Any question, bug report or improvement suggestion is welcome through [opening up a new issue](https://github.com/TCL606/Matrix/issues)\n\n## References\n\n- 《线性代数入门》 梁鑫，田垠，杨一龙 编著。（清华大学内部讲义 2020年秋）\n- [Faddeev–LeVerrier algorithm - Wikipedia](https://en.wikipedia.org/wiki/Faddeev–LeVerrier_algorithm)\n- [Power iteration - Wikipedia](https://en.wikipedia.org/wiki/Power_iteration)\n- [Aberth method - Wikipedia](https://en.wikipedia.org/wiki/Aberth_method)\n\n# C++ / C# 矩阵处理库\n\n## 简介\n\n- 这是一个 C++ 和 C# 的矩阵处理库，可以方便的对矩阵进行运算\n\n  - C++处理库为master分支下的Matrix/TCL_Matrix.h\n  - C#处理库位于master分支下的CSharp_Matrix\n- 矩阵计算的GUI程序已发布，欢迎大家下载使用最新Release版本进行使用。详细说明请见[MatrixCal/README.md](https://github.com/TCL606/Matrix/blob/main/MatrixCal/README.md)\n\n- C++ 与 C# 库实现的算法基本相同，包括\n\n  - 基本运算：\n    - 矩阵加法\n    - 矩阵乘法\n    - 矩阵转置\n  - 矩阵常用运算：\n    - 矩阵求逆\n    - 矩阵Gauss-Jordan消元\n    - 矩阵LU分解\n    - 求矩阵秩\n    - 求行列式\n    - 矩阵快速幂\n    - 求解线性方程组\n    - 求矩阵零空间\n    - 矩阵的迹\n    - 矩阵QR分解\n  - 常用数值计算\n    - 求矩阵范数\n    - 求矩阵谱半径\n    - 求任意矩阵的所有奇异值（不含重根）\n    - 求任意矩阵的（复）特征值（含重根）\n  - 矩阵高级操作\n    - 获得方阵特征多项式的系数\n    - 矩阵SVD分解\n    - 求任意矩阵的Moore-Penrose广义逆\n  - 其他操作\n    - 从文件中读入矩阵\n    - 向文件中写入矩阵\n\n## 相关说明\n\n- 关于求解矩阵特征值、奇异值的部分，如果问题高度敏感，则计算出的特征值/奇异值可能有偏差\n- 我们欢迎大家通过[issue](https://github.com/TCL606/Matrix/issues).，向我们询问任何问题，提出bug报告、或给予改进建议\n\n## 参考资料\n\n- 《线性代数入门》 梁鑫，田垠，杨一龙 编著。（清华大学内部讲义 2020年秋）\n- [Faddeev–LeVerrier algorithm - Wikipedia](https://en.wikipedia.org/wiki/Faddeev–LeVerrier_algorithm)\n- [Power iteration - Wikipedia](https://en.wikipedia.org/wiki/Power_iteration)\n- [Aberth method - Wikipedia](https://en.wikipedia.org/wiki/Aberth_method)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcl606%2Fmatrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcl606%2Fmatrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcl606%2Fmatrix/lists"}