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
42f6590bb26d77bfa67f57c64ff9cc6d38e23f58
eigen/doc/snippets/MatrixBase_block.cpp

6 lines
281 B
C++
Raw Normal View History

- rework the coefficients API - make vectors use a separate loop unroller, so that copying a row-vector into a col-vector is now possible - add much more documentation - misc improvements
2007-12-24 11:14:25 +00:00
Matrix4d m = Matrix4d::diagonal(Vector4d(1,2,3,4));
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;
cout << "Here is m.block<2, 2>(2, 2):" << endl << m.block<2, 2>(2, 2) << endl;
- rework the coefficients API - make vectors use a separate loop unroller, so that copying a row-vector into a col-vector is now possible - add much more documentation - misc improvements
2007-12-24 11:14:25 +00:00
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: 244ms 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