* update redux section

* fix output precision to 3 for the snippets
This commit is contained in:
Gael Guennebaud
2010-06-28 13:30:10 +02:00
parent 768bdd08c8
commit dbefd7aafb
8 changed files with 52 additions and 45 deletions

View File

@@ -35,6 +35,7 @@ namespace Eigen {
<a href="#" class="top">top</a>
\section QuickRef_Types Array, matrix and vector types
\b Recall: Eigen provides two kinds of dense objects: mathematical matrices and vectors which are both represented by the template class Matrix, and general 1D and 2D arrays represented by the template class Array:
\code
typedef Matrix<Scalar, RowsAtCompileTime, ColsAtCompileTime, Options> MyMatrixType;
@@ -87,7 +88,6 @@ In the rest of this document we will use the following symbols to emphasize the
\li <a name="matrixonly"><a/>\matrixworld linear algebra matrix and vector only
\li <a name="arrayonly"><a/>\arrayworld array objects only
\subsection QuickRef_Basics Basic matrix manipulation
<table class="tutorial_code">
@@ -371,7 +371,7 @@ Coefficient-wise operators for matrices and vectors:
<tr><td>\code
mat1.cwiseMin(mat2)
mat1.cwiseMax(mat2)
mat1.cwiseAbs2()
mat1.cwiseAbs2()
mat1.cwiseAbs()
mat1.cwiseSqrt()
mat1.cwiseProduct(mat2)