Purpose
returns the determinant of the matrix @(@
A
@)@
using expansion by minors.
The elements of the @(@
n \times n
@)@ minor @(@
M
@)@
of the matrix @(@
A
@)@ are defined,
for @(@
i = 0 , \ldots , n-1
@)@ and @(@
j = 0 , \ldots , n-1
@)@, by
@[@
M_{i,j} = A_{i, j}
@]@
a
The argument
a
has prototype
const double* a
and is a vector with size @(@
m * m
@)@.
The elements of the @(@
m \times m
@)@ matrix @(@
A
@)@ are defined,
for @(@
i = 0 , \ldots , m-1
@)@ and @(@
j = 0 , \ldots , m-1
@)@, by
@[@
A_{i,j} = a[ i * m + j]
@]@
m
The argument
m
has prototype
size_t m
and is the number of rows (and columns) in the square matrix @(@
A
@)@.