aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/tutorial.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2007-09-27 19:54:04 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2007-09-27 19:54:04 +0000
commit28c44a95c21bb18ec265faba69e750c430045f9c (patch)
treeafaf7675f2b33c7818f846f72da8367a67fa714d /doc/tutorial.cpp
parent5160e9d0292b7ebf39376803c5b7764f0f838714 (diff)
Finish prefixing everything with "Ei"
Diffstat (limited to 'doc/tutorial.cpp')
-rw-r--r--doc/tutorial.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tutorial.cpp b/doc/tutorial.cpp
index 38943ec50..b0e13687b 100644
--- a/doc/tutorial.cpp
+++ b/doc/tutorial.cpp
@@ -4,7 +4,7 @@ using namespace std;
int main(int, char **)
{
- Matrix<double,2,2> m; // 2x2 fixed-size matrix with uninitialized entries
+ EiMatrix<double,2,2> m; // 2x2 fixed-size matrix with uninitialized entries
m(0,0) = 1;
m(0,1) = 2;
m(1,0) = 3;
@@ -35,7 +35,7 @@ int main(int, char **)
cout << "We want to store that into m, i.e. do \"m = m * m;\"" << endl;
cout << "Here we must be very careful. For if we do \"m = m * m;\"," << endl
<< "the matrix m becomes" << endl;
- Matrix<double,2,2> m_save = m;
+ EiMatrix<double,2,2> m_save = m;
m = m * m; // the bogus operation
cout << m << "," << endl;
cout << "which is not what was wanted!" << endl