Fix name clash in "m.block(i,j,m,n)" where m has two meanings.

Fix simple typos in tutorial.
This commit is contained in:
Jitse Niesen
2010-06-29 11:42:51 +01:00
parent cf3616b2c0
commit 3070164525
3 changed files with 40 additions and 40 deletions

View File

@@ -192,7 +192,7 @@ loops. Internally, a fixed-size Eigen matrix is just a plain static array, i.e.
\code Matrix4f mymatrix; \endcode
really amounts to just doing
\code float mymatrix[16]; \endcode
so this really has zero runtime cost. By constrast, the array of a dynamic-size matrix
so this really has zero runtime cost. By contrast, the array of a dynamic-size matrix
is always allocated on the heap, so doing
\code MatrixXf mymatrix(rows,columns); \endcode
amounts to doing
@@ -240,10 +240,10 @@ Matrix<typename Scalar,
Eigen defines the following Matrix typedefs:
\li MatrixNT for Matrix<T, N, N>. For example, MatrixXi for Matrix<int, Dynamic, Dynamic>.
\li VectorNT for Matrix<T, N, 1>. For example, Vector2f for Matrix<float, 2, 1>.
\li MatrixNT for Matrix<T, 1, N>. For example, RowVector3d for Matrix<double, 1, 3>.
\li RowVectorNT for Matrix<T, 1, N>. For example, RowVector3d for Matrix<double, 1, 3>.
Where:
\li N can be any one of \c 2,\c 3,\c 4, or \c Dynamic.
\li N can be any one of \c 2,\c 3,\c 4, or \c d (meaning \c Dynamic).
\li T can be any one of \c i (meaning int), \c f (meaning float), \c d (meaning double),
\c cf (meaning complex<float>), or \c cd (meaning complex<double>). The fact that typedefs are only
defined for these 5 types doesn't mean that they are the only supported scalar types. For example,
@@ -253,4 +253,4 @@ Where:
*/
}
}