From 506cc5db12bdfa375d630d85d2fde12bdfe1d1ec Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 7 Sep 2007 09:47:13 +0000 Subject: remove operator *= between matrices: too much hassle. --- doc/tutorial.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'doc/tutorial.cpp') diff --git a/doc/tutorial.cpp b/doc/tutorial.cpp index 51847460f..330fcf326 100644 --- a/doc/tutorial.cpp +++ b/doc/tutorial.cpp @@ -49,12 +49,5 @@ int main(int, char **) m = m_save; m.alias() = m * m; cout << "And m is now:" << endl << m << endl << "as was expected." << endl; - cout << "To make your life easier, operator*= between matrices automatically" << endl - << "creates an alias. So a *= b is equivalent to a.alias() *= b," << endl - << "when a and b are matrices. So, coming back to the original matrix m," << endl - << "if we do m *= m, the matrix m becomes:" << endl; - m = m_save; - m *= m; - cout << m << endl << "as expected." << endl; return 0; } -- cgit v1.2.3