DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
LinearAlgebra.ih
1 
32 
33 #include <cstdlib>
35 
37 // IMPLEMENTATION of inline methods.
39 
41 // ----------------------- Standard services ------------------------------
42 namespace DGtal{
43 
44  template<typename Space>
45  inline
46  typename LinearAlgebra<Space>::Integer
48  {
49  if (dimension == 2)
50  return a[0]*b[1]-a[1]*b[0];
51 
52  ASSERT2(false, "Determinant not yet implemented");
53 
54  }
55 
56 
57 }