aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-08-28 21:44:56 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-08-28 21:44:56 +0000
commit7ea821d18e6b1294acf170b805c3c132c47f2f77 (patch)
tree196865782f422611721ce841373f9d77c3519c3c /doc/snippets
parent80be1ea51582c92bf4dba2b4f104bb53b9628980 (diff)
spelling + some krazy directives
Diffstat (limited to 'doc/snippets')
-rw-r--r--doc/snippets/.krazy1
-rw-r--r--doc/snippets/MatrixBase_set.cpp2
-rw-r--r--doc/snippets/PartialRedux_maxCoeff.cpp2
-rw-r--r--doc/snippets/PartialRedux_minCoeff.cpp2
-rw-r--r--doc/snippets/PartialRedux_norm.cpp2
-rw-r--r--doc/snippets/PartialRedux_sum.cpp2
-rw-r--r--doc/snippets/Tutorial_commainit_01.cpp2
-rw-r--r--doc/snippets/Tutorial_commainit_02.cpp2
8 files changed, 8 insertions, 7 deletions
diff --git a/doc/snippets/.krazy b/doc/snippets/.krazy
new file mode 100644
index 000000000..60f6bcaf3
--- /dev/null
+++ b/doc/snippets/.krazy
@@ -0,0 +1 @@
+EXCLUDE copyright,license \ No newline at end of file
diff --git a/doc/snippets/MatrixBase_set.cpp b/doc/snippets/MatrixBase_set.cpp
index 9487008db..50ecf5fb9 100644
--- a/doc/snippets/MatrixBase_set.cpp
+++ b/doc/snippets/MatrixBase_set.cpp
@@ -10,4 +10,4 @@ Vector2i v1;
v1 << 14, 15;
m2 << v1.transpose(), 16,
v1, m1.block(1,1,2,2);
-cout << m2 << endl; \ No newline at end of file
+cout << m2 << endl;
diff --git a/doc/snippets/PartialRedux_maxCoeff.cpp b/doc/snippets/PartialRedux_maxCoeff.cpp
index ff1a7ebdb..e8fd3820d 100644
--- a/doc/snippets/PartialRedux_maxCoeff.cpp
+++ b/doc/snippets/PartialRedux_maxCoeff.cpp
@@ -1,3 +1,3 @@
Matrix3d m = Matrix3d::Random();
cout << "Here is the matrix m:" << endl << m << endl;
-cout << "Here is the maximum of each column:" << endl << m.colwise().maxCoeff() << endl; \ No newline at end of file
+cout << "Here is the maximum of each column:" << endl << m.colwise().maxCoeff() << endl;
diff --git a/doc/snippets/PartialRedux_minCoeff.cpp b/doc/snippets/PartialRedux_minCoeff.cpp
index 1256cee5e..d717bc0d1 100644
--- a/doc/snippets/PartialRedux_minCoeff.cpp
+++ b/doc/snippets/PartialRedux_minCoeff.cpp
@@ -1,3 +1,3 @@
Matrix3d m = Matrix3d::Random();
cout << "Here is the matrix m:" << endl << m << endl;
-cout << "Here is the minimum of each column:" << endl << m.colwise().minCoeff() << endl; \ No newline at end of file
+cout << "Here is the minimum of each column:" << endl << m.colwise().minCoeff() << endl;
diff --git a/doc/snippets/PartialRedux_norm.cpp b/doc/snippets/PartialRedux_norm.cpp
index 46f26f715..dbcf290a0 100644
--- a/doc/snippets/PartialRedux_norm.cpp
+++ b/doc/snippets/PartialRedux_norm.cpp
@@ -1,3 +1,3 @@
Matrix3d m = Matrix3d::Random();
cout << "Here is the matrix m:" << endl << m << endl;
-cout << "Here is the norm of each column:" << endl << m.colwise().norm() << endl; \ No newline at end of file
+cout << "Here is the norm of each column:" << endl << m.colwise().norm() << endl;
diff --git a/doc/snippets/PartialRedux_sum.cpp b/doc/snippets/PartialRedux_sum.cpp
index dfd0eb9a9..ec82d3e41 100644
--- a/doc/snippets/PartialRedux_sum.cpp
+++ b/doc/snippets/PartialRedux_sum.cpp
@@ -1,3 +1,3 @@
Matrix3d m = Matrix3d::Random();
cout << "Here is the matrix m:" << endl << m << endl;
-cout << "Here is the sum of each row:" << endl << m.rowwise().sum() << endl; \ No newline at end of file
+cout << "Here is the sum of each row:" << endl << m.rowwise().sum() << endl;
diff --git a/doc/snippets/Tutorial_commainit_01.cpp b/doc/snippets/Tutorial_commainit_01.cpp
index f0a51509a..e3098cedb 100644
--- a/doc/snippets/Tutorial_commainit_01.cpp
+++ b/doc/snippets/Tutorial_commainit_01.cpp
@@ -2,4 +2,4 @@ Matrix3f m;
m << 1, 2, 3,
4, 5, 6,
7, 8, 9;
-cout << m; \ No newline at end of file
+cout << m;
diff --git a/doc/snippets/Tutorial_commainit_02.cpp b/doc/snippets/Tutorial_commainit_02.cpp
index 6ffea9105..c960d6ab5 100644
--- a/doc/snippets/Tutorial_commainit_02.cpp
+++ b/doc/snippets/Tutorial_commainit_02.cpp
@@ -4,4 +4,4 @@ m << (Matrix3f() << 1, 2, 3, 4, 5, 6, 7, 8, 9).finished(),
MatrixXf::Zero(3,cols-3),
MatrixXf::Zero(rows-3,3),
MatrixXf::Identity(rows-3,cols-3);
-cout << m; \ No newline at end of file
+cout << m;