C # matrix operation class library,
This class library is a C # matrix computing class library that I made after referring to many related materials. Because C # has a relatively small number of numeric computing libraries, I hope this class library can help you.
Source code github URL: https://github.com/JoshuaHe2015/MatrixLibrary
Function Description: (updating continuously)
1. Basic matrix operations:
Matrix addition, subtraction, multiplication, division, inverse, rank, determinant, transpose. Operations include matrix and matrix operations, matrix and vector operations, and matrix and scalar operations.
2. matrix decomposition:
LU decomposition and QR decomposition
3. IO operations:
Supports reading matrices from text files and writing matrices to text files.
4. Special Operations:
Evaluate the Hessen Berg matrix and solve the matrix feature value
5. linear equations:
Gaussian elimination method is used to solve linear equations, the least square solution of QR decomposition, and the gradient method is used to obtain symmetric definite equations. 6. Special Matrices:
Generate zero matrix, one matrix, and unit matrix
7. Extract A matrix subset:
The row, column, or diagonal corner of a matrix can be extracted.
8. Others:
Supporting complex operations and vector operations
References:
1. Numerical Analysis (version 5th)/Li Qingyang/Tsinghua University Press
2. C # programming of numerical computation algorithms/long weekly hair/Electronics Industry Press