From 7ea821d18e6b1294acf170b805c3c132c47f2f77 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 28 Aug 2008 21:44:56 +0000 Subject: spelling + some krazy directives --- doc/examples/Tutorial_simple_example_fixed_size.cpp | 2 +- doc/snippets/.krazy | 1 + doc/snippets/MatrixBase_set.cpp | 2 +- doc/snippets/PartialRedux_maxCoeff.cpp | 2 +- doc/snippets/PartialRedux_minCoeff.cpp | 2 +- doc/snippets/PartialRedux_norm.cpp | 2 +- doc/snippets/PartialRedux_sum.cpp | 2 +- doc/snippets/Tutorial_commainit_01.cpp | 2 +- doc/snippets/Tutorial_commainit_02.cpp | 2 +- doc/tutorial.cpp | 2 +- 10 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 doc/snippets/.krazy (limited to 'doc') diff --git a/doc/examples/Tutorial_simple_example_fixed_size.cpp b/doc/examples/Tutorial_simple_example_fixed_size.cpp index 6dd7ebf90..71bf1bafb 100644 --- a/doc/examples/Tutorial_simple_example_fixed_size.cpp +++ b/doc/examples/Tutorial_simple_example_fixed_size.cpp @@ -11,4 +11,4 @@ int main(int, char *[]) Vector4i v4(1, 2, 3, 4); std::cout << "m3\n" << m3 << "\nm4:\n" << m4 << "\nv4:\n" << v4 << std::endl; -} \ No newline at end of file +} 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; diff --git a/doc/tutorial.cpp b/doc/tutorial.cpp index 941a80c1a..6d3eb8bc2 100644 --- a/doc/tutorial.cpp +++ b/doc/tutorial.cpp @@ -59,4 +59,4 @@ int main(int argc, char *argv[]) m4 = m4 * m4.transpose().eval(); // forces immediate evaluation of the transpose std::cout << "*** Step 8 ***\nm3:\n" << m3 << "\nm4:\n" << m4 << std::endl; -} \ No newline at end of file +} -- cgit v1.2.3