/usr/include/ITK-4.5/vnl/vnl_det.h is in libinsighttoolkit4-dev 4.5.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | // This is core/vnl/vnl_det.h
#ifndef vnl_det_h_
#define vnl_det_h_
//:
// \file
// \brief Direct evaluation of 2x2, 3x3 and 4x4 determinants.
// \author fsm
//
// \verbatim
// Modifications
// Peter Vanroose - 15 Oct. 2001 - Renamed from vnl_determinant to vnl_det
// Peter Vanroose - 15 Oct. 2001 - Added vnl_matrix_fixed interface
// \endverbatim
#include <vnl/vnl_matrix_fixed.h>
//: 2x2 matrix
template <class T> T vnl_det(T const *row0,
T const *row1);
//: 3x3 matrix
template <class T> T vnl_det(T const *row0,
T const *row1,
T const *row2);
//: 4x4 matrix
template <class T> T vnl_det(T const *row0,
T const *row1,
T const *row2,
T const *row3);
//: Determinant of small size matrices
// \relatesalso vnl_matrix_fixed
template <class T>
inline T vnl_det(vnl_matrix_fixed<T,1,1> const& m) { return m[0][0]; }
//: Determinant of small size matrices
// \relatesalso vnl_matrix_fixed
template <class T>
inline T vnl_det(vnl_matrix_fixed<T,2,2> const& m) { return vnl_det(m[0],m[1]); }
//: Determinant of small size matrices
// \relatesalso vnl_matrix_fixed
template <class T>
inline T vnl_det(vnl_matrix_fixed<T,3,3> const& m) { return vnl_det(m[0],m[1],m[2]); }
//: Determinant of small size matrices
// \relatesalso vnl_matrix_fixed
template <class T>
inline T vnl_det(vnl_matrix_fixed<T,4,4> const& m) { return vnl_det(m[0],m[1],m[2],m[3]); }
#endif // vnl_det_h_
|