Inverse matrix computation

Write C function to compute inverse matrix of square matrix, such that

if Y = M^-1 then M * Y = E.

Function must have following interface:

double* inv_matrix(const double* M, const size_t N);


N - size of matrix side

M - matrix data (standard C array of N * N)


Function must allocate memory with malloc(), compute inverse matrix,

store it in the newly allocated area and return it. If inverse matrix does not exist,

function must deallocate that memory and return NULL.

Function must also return NULL if memory allocation failed, or if n is zero.

In the latter case, memory should not be allocated at all.

Function is NOT allowed to modify its input.

Special conditions:

- You are not allowed to use any third-party libraries. Maximum you can use

is functions available in the standard header file math.h

- Function must use most effective algorithm that will work well for matrix sizes N up to 10000.

- Function must be failsafe and memory leak free.

- Function must be written in the plain C language (STRICTLY NO C++!!!) and comply to C99 language standard.

- Function must compile without any warnings or errors on GCC 4.8.5 using following set of compiler options:

-std=c99 -Wall -Wextra -pedantic -Werror

- All code must be formatted according to Linux Kernel coding standard

(see here for more details: [url removed, login to view])

- You must provide small test program that execute at least 10 test cases to prove correctness

(we strongly recommend you to use Matlab or Octave to precompute your test data).

Please be careful and accurate in your bidding, we will require you to complete the project exactly in the time you have indicated in your bid.

Habilidades: Programación en C, Matemáticas

Ver más: matrix class transpose inverse, program inverse matrix size nxn, program matrix inverse operation, inverse matrix calculation 7x7, design simple compiler using java, inverse 7x7 matrix, set gallery using jquery, write program class matrix inverse, 3x3 inverse matrix code, mac lion set dhcp using batch file, 4x4 matrix code ccs compiler, inverse matrix code, program inverse matrix, inverse matrix, compiler using lex, compile program using gcc, read write file using gcc, set homepage using javascript mozilla, set website using magneto, add compiler option gcc

Información del empleador:
( 5 comentarios ) KHARKIV, Ukraine

Nº del proyecto: #12150311

Adjudicado a:

$30 USD en 3 días
(0 comentarios)

7 freelancers están ofertando el promedio de $25 para este trabajo

$24 USD en 1 día
(127 comentarios)

Hi! My name is Fernando Téllez. I am a senior year student of electrical engineering at Universidad Simón Bolívar (USB), one of the most prestigious universities in my country (Ranked 34° at the QS University Rankings: Más

$25 USD en 1 día
(4 comentarios)

Hello Sir/Mam NovaSofts Inc. is the leading IT Company of Islamabad Pakistan. We have 9+ years of experience and strong knowledge about programming languages Java C++ C C# Android So you don't worry about thir Más

$30 USD en 1 día
(51 comentarios)
$25 USD en 1 día
(0 comentarios)

I am professional C++ / C# developer for past 2 years now. I started learning C++ 8 years back so i am thorough with it and also have the confidence to do anything that comes up. My last two projects on freelancer was Más

$30 USD en 3 días
(3 comentarios)

Many this types of project have done in my college time, so I can easily complete this project as per ur requirement.. Thanks

$10 USD en 1 día
(0 comentarios)

Hi there! My name is Yaicel and I am very interested in your problem. I have advanced skills in numeric math and this is what you need, as your matrix could be very big, as long as 10000 x 10000, the traditional analy Más

$25 USD en 0 días
(8 comentarios)