aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/QuickReference.dox
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-10-19 08:42:49 -0400
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-10-19 08:42:49 -0400
commit9fa54d4cc9463be49a134856abec4864c8e39c41 (patch)
tree9eed6e3abf7f221ce2a152754bd687eecbe18859 /doc/QuickReference.dox
parentca4bd5851cd26df7d6cefaa44cb07587adb3d8de (diff)
move tables from class "tutorial_code" to "example"
also remove a align="center" in the Aliasing page -- it doesn't make sense to have 1 centered table page when all others are left aligned.
Diffstat (limited to 'doc/QuickReference.dox')
-rw-r--r--doc/QuickReference.dox12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/QuickReference.dox b/doc/QuickReference.dox
index 467899fb5..70aede0b3 100644
--- a/doc/QuickReference.dox
+++ b/doc/QuickReference.dox
@@ -62,7 +62,8 @@ Matrix<double, 13, 3> // Fully fixed (static allocation)
</div>
In most cases, you can simply use one of the convenience typedefs for \ref matrixtypedefs "matrices" and \ref arraytypedefs "arrays". Some examples:
-<table class="tutorial_code">
+<table class="example">
+<tr><th>Matrices</th><th>Arrays</th></tr>
<tr><td>\code
Matrix<float,Dynamic,Dynamic> <=> MatrixXf
Matrix<double,Dynamic,1> <=> VectorXd
@@ -537,7 +538,8 @@ Read-write access to sub-matrices:</td></tr>
\subsection QuickRef_Diagonal Diagonal matrices
-<table class="tutorial_code">
+<table class="example">
+<tr><th>Operation</th><th>Code</th></tr>
<tr><td>
view a vector \link MatrixBase::asDiagonal() as a diagonal matrix \endlink \n </td><td>\code
mat1 = vec1.asDiagonal();\endcode
@@ -572,7 +574,8 @@ mat3 = mat1 * diag1.inverse()
TriangularView gives a view on a triangular part of a dense matrix and allows to perform optimized operations on it. The opposite triangular part is never referenced and can be used to store other information.
-<table class="tutorial_code">
+<table class="example">
+<tr><th>Operation</th><th>Code</th></tr>
<tr><td>
Reference to a triangular with optional \n
unit or null diagonal (read/write):
@@ -615,7 +618,8 @@ Just as for triangular matrix, you can reference any triangular part of a square
matrix and perform special and optimized operations. Again the opposite triangular part is never referenced and can be
used to store other information.
-<table class="tutorial_code">
+<table class="example">
+<tr><th>Operation</th><th>Code</th></tr>
<tr><td>
Conversion to a dense matrix:
</td><td>\code