diff --git a/src/algebra/TinyMatrix.hpp b/src/algebra/TinyMatrix.hpp
index 9fd69705b96bf188e43f160ff0abdbf95592a3c1..faf177c5e19c5e86e1694904a806d963655598d9 100644
--- a/src/algebra/TinyMatrix.hpp
+++ b/src/algebra/TinyMatrix.hpp
@@ -12,7 +12,10 @@
 template <size_t N, typename T=double>
 class TinyMatrix
 {
-private:
+ public:
+  using data_type = T;
+
+ private:
   T m_values[N*N];
   static_assert((N>0),"TinyMatrix size must be strictly positive");
 
diff --git a/src/algebra/TinyVector.hpp b/src/algebra/TinyVector.hpp
index 6d833e6b31b3aea0815280f36fd3d0ae89ba2a43..2b7a080cadb08f523bc02692b16ca228fdaca9f2 100644
--- a/src/algebra/TinyVector.hpp
+++ b/src/algebra/TinyVector.hpp
@@ -13,6 +13,9 @@
 template <size_t N, typename T=double>
 class TinyVector
 {
+ public:
+  using data_type = T;
+
  private:
   T m_values[N];
   static_assert((N>0),"TinyVector size must be strictly positive");