Logo
Explore Help
Sign In
devtools/eigen
1
0
Fork 0
You've already forked eigen
mirror of https://gitlab.com/libeigen/eigen.git synced 2026-04-10 11:34:33 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
3.3
eigen/doc/snippets/MatrixBase_fixedBlock_int_int.cpp

6 lines
274 B
C++
Raw Permalink Normal View History

- 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
2008-01-05 10:57:14 +00:00
Matrix4d m = Vector4d(1,2,3,4).asDiagonal();
matrix storage order can now also be row-dominant (choosable for each matrix separately) map() moves from MatrixBase to Matrix much more documentation/examples/snippets
2007-12-27 21:43:10 +00:00
cout << "Here is the matrix m:" << endl << m << endl;
Patch by Gael Guennebaud: unify fixed-size and dynamic-size Block expressions, update documentation.
2008-02-29 13:56:40 +00:00
cout << "Here is m.fixed<2, 2>(2, 2):" << endl << m.block<2, 2>(2, 2) << endl;
m.block<2, 2>(2, 0) = m.block<2, 2>(2, 2);
matrix storage order can now also be row-dominant (choosable for each matrix separately) map() moves from MatrixBase to Matrix much more documentation/examples/snippets
2007-12-27 21:43:10 +00:00
cout << "Now the matrix m is:" << endl << m << endl;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 116ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API