Matrix Inversion in LAPACK

Here is a Fortran program which performs matrix inversion using the LU decomposition method:  INVERSE_MATRIX.F It is compiled via: gfortran -o INVERSE_MATRIX INVERSE_MATRIX.F -llapack It compiles & runs under both Ubuntu & Cygwin. See also: http://www.nag.com/numeric/fl/nagdoc_fl23/examples/source/f07ajfe.f90 * * * The INVERSE_MATRIX.F program uses the subroutines:… Read more

Mixed C++ Fortran Programming

This is another matrix multiplication project using the BLAS function dgemm. It is complied and run in an Ubuntu system. The set consists of two programs:  (right mouse click.  save target or link as) matrix_mult_cf.cpp fort_matmul_main.f The set calculates: C = A*B The C++ program… Read more

MinGW Windows Installation

MinGW stands for Minimalist GNU for Windows. MinGW is a native software port of the GNU Compiler Collection (GCC) and GNU Binutils for use in the development of native Microsoft Windows applications. MinGW can be downloaded with Code::Blocks. Or it can be downloaded via  soureforge.… Read more