mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
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 ;)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user