File examples.patch of Package mtl
Index: mtl-2.1.2-23/contrib/examples/abs_sum.cc
===================================================================
--- mtl-2.1.2-23.orig/contrib/examples/abs_sum.cc
+++ mtl-2.1.2-23/contrib/examples/abs_sum.cc
@@ -1,5 +1,6 @@
#include <iostream>
#include "mtl/utils.h"
+#include "mtl/matrix.h"
#include "mtl/mtl.h"
#include "mtl/linalg_vec.h"
Index: mtl-2.1.2-23/contrib/examples/apply_givens.cc
===================================================================
--- mtl-2.1.2-23.orig/contrib/examples/apply_givens.cc
+++ mtl-2.1.2-23/contrib/examples/apply_givens.cc
@@ -26,6 +26,7 @@
//
+#include "mtl/matrix.h"
#include "mtl/mtl.h"
#include "mtl/utils.h"
#include "mtl/linalg_vec.h"
Index: mtl-2.1.2-23/contrib/examples/array2D.cc
===================================================================
--- mtl-2.1.2-23.orig/contrib/examples/array2D.cc
+++ mtl-2.1.2-23/contrib/examples/array2D.cc
@@ -12,6 +12,7 @@
//===========================================================================
#include <iostream>
+#include "mtl/matrix.h"
#include "mtl/mtl.h"
#include "mtl/matrix.h"
Index: mtl-2.1.2-23/contrib/examples/banded_matmat.cc
===================================================================
--- mtl-2.1.2-23.orig/contrib/examples/banded_matmat.cc
+++ mtl-2.1.2-23/contrib/examples/banded_matmat.cc
@@ -1,8 +1,8 @@
#include <iostream>
using namespace std;
-#include <mtl/mtl.h>
#include <mtl/matrix.h>
+#include <mtl/mtl.h>
#include <mtl/dense1D.h>
#include <mtl/utils.h>
Index: mtl-2.1.2-23/contrib/examples/dot_prod.cc
===================================================================
--- mtl-2.1.2-23.orig/contrib/examples/dot_prod.cc
+++ mtl-2.1.2-23/contrib/examples/dot_prod.cc
@@ -26,6 +26,7 @@
//
#include <iostream>
+#include "mtl/matrix.h"
#include "mtl/mtl.h"
#include "mtl/utils.h"
#include "mtl/linalg_vec.h"
Index: mtl-2.1.2-23/contrib/examples/euclid_norm.cc
===================================================================
--- mtl-2.1.2-23.orig/contrib/examples/euclid_norm.cc
+++ mtl-2.1.2-23/contrib/examples/euclid_norm.cc
@@ -1,4 +1,5 @@
#include <iostream>
+#include "mtl/matrix.h"
#include "mtl/mtl.h"
#include "mtl/utils.h"
#include "mtl/linalg_vec.h"
Index: mtl-2.1.2-23/contrib/examples/max_index.cc
===================================================================
--- mtl-2.1.2-23.orig/contrib/examples/max_index.cc
+++ mtl-2.1.2-23/contrib/examples/max_index.cc
@@ -25,6 +25,7 @@
// $Id: max_index.cc,v 1.2 2000/08/28 15:22:59 jsiek Exp $
//
+#include "mtl/matrix.h"
#include "mtl/mtl.h"
#include "mtl/utils.h"
#include "mtl/linalg_vec.h"
Index: mtl-2.1.2-23/contrib/examples/neg_stride.cc
===================================================================
--- mtl-2.1.2-23.orig/contrib/examples/neg_stride.cc
+++ mtl-2.1.2-23/contrib/examples/neg_stride.cc
@@ -1,4 +1,5 @@
#include <iostream>
+#include "mtl/matrix.h"
#include <mtl/strided1D.h>
#include <mtl/light1D.h>
#include <mtl/mtl.h>
Index: mtl-2.1.2-23/contrib/examples/subrange_vector.cc
===================================================================
--- mtl-2.1.2-23.orig/contrib/examples/subrange_vector.cc
+++ mtl-2.1.2-23/contrib/examples/subrange_vector.cc
@@ -1,3 +1,4 @@
+#include "mtl/matrix.h"
#include <mtl/mtl.h>
#include <mtl/utils.h>
#include <mtl/dense1D.h>
Index: mtl-2.1.2-23/contrib/examples/vec_max_index.cc
===================================================================
--- mtl-2.1.2-23.orig/contrib/examples/vec_max_index.cc
+++ mtl-2.1.2-23/contrib/examples/vec_max_index.cc
@@ -1,4 +1,5 @@
#include <iostream>
+#include "mtl/matrix.h"
#include <mtl/mtl.h>
#include <mtl/dense1D.h>