Идея си нямам, ама нали има гугъл:
http://www.math10.com/forumbg/viewtopic.php?t=7001
http://matrixcalc.org/bg/det.html