This website requires JavaScript.
Explore
Help
Register
Sign In
CFD
/
eigen
Watch
1
Star
0
Fork
0
You've already forked eigen
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
9697d481c8
eigen
/
doc
/
snippets
/
MatrixBase_setIdentity.cpp
4 lines
85 B
C++
Raw
Normal View
History
Unescape
Escape
* Merge Extract and Part to the Part expression. Renamed "MatrixBase::extract() const" to "MatrixBase::part() const" * Renamed static functions identity, zero, ones, random with an upper case first letter: Identity, Zero, Ones and Random.
2008-07-21 08:34:46 +08:00
Matrix4i
m
=
Matrix4i
:
:
Zero
(
)
;
Clang-format tests, examples, libraries, benchmarks, etc.
2023-12-06 05:22:55 +08: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 23:08:04 +08:00
cout
<
<
m
<
<
endl
;
Reference in New Issue
Copy Permalink