determinant is a natural transformation (isomorphism?) between the category of GL(N, K) to K* where K is a ring and K* consists of only the units (elements with inverses) of K. Provide a way to calculate the determinant of a matrix.
One method is to look at Numerical Recipes in C for an algorithm to calculate the LU composition.