C++ solving set of linear equations

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
m2babaey
Forum Contributor
Posts: 364
Joined: Sun May 20, 2007 9:26 am

C++ solving set of linear equations

Post by m2babaey »

Hello
Our professor has asked us to program a power load flow script.
He said that we are not allowed to use MATLAB! so this is the problem and I don't know how calculate the jacobian matrix or matrix inverse or other calculations when I'm not allowed to use MATLAB
I have some basic knowledge of C++ and want to write my script using C++
The main problem is solving a set of linear equations with n variables and n equations
I used to use MATLAB functions like ( inv => inverse ) to calculate inverse of a matrix and solve the equations. But now how can I solve a set of equations using C++?
any help would be very appreciated.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: C++ solving set of linear equations

Post by onion2k »

Moved to Misc.
Post Reply