Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • 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
Joined
Feb 24, 2005
Messages
46
Location
US
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
 
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

Back
Top