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
6f2c72fb537c18e5b3a2ddc1f1ba2ff2f4a38785
eigen/doc/snippets/MatrixBase_setIdentity.cpp

4 lines
83 B
C++
Raw Normal View History

-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
2008-01-11 15:08:04 +00:00
Matrix4i m = Matrix4i::zero();
Patch by Gael Guennebaud: unify fixed-size and dynamic-size Block expressions, update documentation.
2008-02-29 13:56:40 +00:00
m.block<3,3>(1,0).setIdentity();
-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
2008-01-11 15:08:04 +00:00
cout << m << endl;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 230ms Template: 35ms
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