determinant

double determinant(double** a, int n)

Returns the determinant of the matrix a.

Parameters:
aMatrix to find determinant for.
nSize of a.

Returns:
The determinant of the matrix a.

Usage:

double** a;
double d;
a = dmatrix(0, 3, 0, 3);
// initialize the a[i][j] elements
d = determinant(a, 4);
free_dmatrix(a, 0, 3, 0);

Header:
#include "linalg.h"