aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/QuickStartGuide.dox
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-10-24 21:42:03 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-10-24 21:42:03 +0000
commit8ea8b481de07169706343f35f928eac845b706fe (patch)
tree9a082b32a020aebd6df50bf73de275e5e2cdaef8 /doc/QuickStartGuide.dox
parent65abb4c52e198c7379ad50655bfaa9d4ddd20c77 (diff)
As discussed on ML:
* remove the automatic resizing feature of operator = * add function Matrix::set() to be used when the previous behavior is wanted * the default constructor of dynamic-size matrices now creates a "null" matrix (data=0, rows = cols = 0) instead of a 1x1 matrix * fix UnixX typos ;)
Diffstat (limited to 'doc/QuickStartGuide.dox')
-rw-r--r--doc/QuickStartGuide.dox6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/QuickStartGuide.dox b/doc/QuickStartGuide.dox
index 805b840f3..1d2f623b3 100644
--- a/doc/QuickStartGuide.dox
+++ b/doc/QuickStartGuide.dox
@@ -156,9 +156,9 @@ x.setRandom(size);
</tr>
<tr><td colspan="3">Basis vectors \link MatrixBase::Unit [details]\endlink</td></tr>
<tr><td>\code
-Vector3f::UnixX() // 1 0 0
-Vector3f::UnixY() // 0 1 0
-Vector3f::UnixZ() // 0 0 1
+Vector3f::UnitX() // 1 0 0
+Vector3f::UnitY() // 0 1 0
+Vector3f::UnitZ() // 0 0 1
\endcode</td><td></td><td>\code
VectorXf::Unit(size,i)
VectorXf::Unit(4,1) == Vector4f(0,1,0,0)