This website requires JavaScript.
Explore
Help
Sign In
devtools
/
eigen
Watch
1
Star
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
e20aceb6ebbc3ba68b9b110897ea5ef0a73c81ba
eigen
/
doc
/
snippets
/
MatrixBase_setIdentity.cpp
4 lines
88 B
C++
Raw
Normal View
History
Unescape
Escape
-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
(
)
;
renaming: Block -> FixedBlock DynBlock -> Block indeed, previous commit solves the main issue with DynBlock so is should now be the more commonly used one.
2008-01-13 20:19:14 +00:00
m
.
fixedBlock
<
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