00001 #ifndef vnl_determinant_h_ 00002 #define vnl_determinant_h_ 00003 // This is vxl/vnl/vnl_determinant.h 00004 00005 //: \file 00006 // \brief Direct evaluation of determinants. 00007 // \author fsm@robots.ox.ac.uk 00008 //: 2x2 matrix 00009 template <class T> T vnl_determinant(T const *row0, 00010 T const *row1); 00011 00012 //: 3x3 matrix 00013 template <class T> T vnl_determinant(T const *row0, 00014 T const *row1, 00015 T const *row2); 00016 00017 //: 4x4 matrix 00018 template <class T> T vnl_determinant(T const *row0, 00019 T const *row1, 00020 T const *row2, 00021 T const *row3); 00022 00023 #endif // vnl_determinant_h_