C++ solving set of linear equations
Posted: Sun Oct 05, 2008 7:02 am
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.
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.