commit | e092cbc75cadef1158d43f07b32e4ae0bf9372e2 | [log] [tgz] |
---|---|---|
author | Benoit Jacob <jacob.benoit.1@gmail.com> | Fri Jan 11 15:08:04 2008 +0000 |
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | Fri Jan 11 15:08:04 2008 +0000 |
tree | f95fb0f3e6c36c6e6badbed4fcd8d136b8483880 | |
parent | aae0667e1e120b5809a7e2fe442d67832ff9ed0f [diff] [blame] |
-add set...() methods and their documentation; remove Generic -use row-major traversal when the number of columns is fixed and the number of rows is dynamic -other minor changes
diff --git a/doc/snippets/MatrixBase_setRandom.cpp b/doc/snippets/MatrixBase_setRandom.cpp new file mode 100644 index 0000000..242306e --- /dev/null +++ b/doc/snippets/MatrixBase_setRandom.cpp
@@ -0,0 +1,3 @@ +Matrix4i m = Matrix4i::zero(); +m.col(1).setRandom(); +cout << m << endl;