C Language solving systems of linear equations

Source: Internet
Author: User

) pseudo-code writing:

Variable types are usually not written

Operators are consistent with language, and or not

Copy Language A<-b

Content Interchange A<->b

for VAR init to limit by incr do//init assignment var variable if var<limi, then execute, and var = var+incot

End

If Then

Do

else then

Else

End If

  

1. Theory of the solution of the linear equation group

For a linear equation group

Identification of the solution:

Step1: Elementary Line transformation to row-stepped matrix, Gaussian elimination element

Algorithm:

Step2 Solution:

Algorithm:

Step3: sufficient and necessary conditions for the solution of a linear equation group

        

STEP4: Number of solutions

1. The unique solution dimension is equal to the number of unknowns, whereas the infinitely multiple solution

2. Homogeneous linear unique solution: 0 vector, Reverse: from the unknown amount () to solve the general solution, the return

3. Non-homogeneous unique solution: direct return, corresponding to the second general solution + Special Solution

Back-generation algorithm:

Program completed, still bad test, upload tomorrow

  

Latex: Mathematical Symbols

http://blog.csdn.net/ying_xu/article/details/51240291

Learned to write pseudo-code in latex, great, indeed good-looking!

C Language solving systems of linear equations

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.