diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-01-05 10:57:14 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-01-05 10:57:14 +0000 |
commit | d1d55e67e967a9bd0d447a7ea105ac2771cde557 (patch) | |
tree | 53e40f4b87664c47c67f0394bc617999ad64ecf3 /doc/snippets/MatrixBase_asDiagonal.cpp | |
parent | 23ffede3d0d280962bad418a41957cf82e3fadc9 (diff) |
- make MatrixBase and all expressions aware of their preferred traversal order.
Honor this preference in operator=.
- add several methods to the API
- rework API for diagonal matrices
- add benchmarking code
Diffstat (limited to 'doc/snippets/MatrixBase_asDiagonal.cpp')
-rw-r--r-- | doc/snippets/MatrixBase_asDiagonal.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/snippets/MatrixBase_asDiagonal.cpp b/doc/snippets/MatrixBase_asDiagonal.cpp new file mode 100644 index 000000000..4cbff8231 --- /dev/null +++ b/doc/snippets/MatrixBase_asDiagonal.cpp @@ -0,0 +1 @@ +cout << Vector3i(2,5,6).asDiagonal() << endl; |