From 3df7d7fec9519d46c2674fe1a278f3bdcbae9b1b Mon Sep 17 00:00:00 2001 From: sfalmo Date: Tue, 7 Jun 2022 17:28:19 +0000 Subject: [PATCH] Fix row vs column vector typo in Matrix class tutorial (cherry picked from commit 9960a304222919b5ab419e2f66196fd4500c2af7) --- doc/TutorialMatrixClass.dox | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/TutorialMatrixClass.dox b/doc/TutorialMatrixClass.dox index 2c452220f..9b6b4b1f0 100644 --- a/doc/TutorialMatrixClass.dox +++ b/doc/TutorialMatrixClass.dox @@ -111,9 +111,9 @@ Vector4d c(5.0, 6.0, 7.0, 8.0); If C++11 is enabled, fixed-size column or row vectors of arbitrary size can be initialized by passing an arbitrary number of coefficients: \code -Vector2i a(1, 2); // A column vector containing the elements {1, 2} -Matrix b {1, 2, 3, 4, 5}; // A row-vector containing the elements {1, 2, 3, 4, 5} -Matrix c = {1, 2, 3, 4, 5}; // A column vector containing the elements {1, 2, 3, 4, 5} +Vector2i a(1, 2); // A column-vector containing the elements {1, 2} +Matrix b {1, 2, 3, 4, 5}; // A column-vector containing the elements {1, 2, 3, 4, 5} +Matrix c = {1, 2, 3, 4, 5}; // A row-vector containing the elements {1, 2, 3, 4, 5} \endcode In the general case of matrices and vectors with either fixed or runtime sizes,