Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solving System of Linear Equations

Status
Not open for further replies.

ahad29

Mechanical
Feb 24, 2005
46
Is there a simple command in Fortran for solving system of linear equations. Like matlab has x = A\B to solve Ax=B. Thanks

Ahad
 
Replies continue below

Recommended for you

Ahad

As IRstuff said the answer is "NO" - you have to write the source yourself.

But just about every introductory book on Fortran uses the Gaussian elemination to solve linear equations in their text as an example. Otherwise a Google search throws up sites like which gives complete fortran listings of various methods to solve this rather trivial problem.
 
Digital Equipment Corp. had a Scientific Subroutine Package
(SSP) written in F. and I am sure it has what you need.


<nbucska@pcperipherals DOT com> subj: eng-tips
read FAQ240-1032
 
If you want something faster than Gaussian, look up Cholesky/Choleski LU Decomposition.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor