C # matrix operation class library,

Source: Internet
Author: User

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

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.