Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101940539
TutorialLinAlgInverseDeterminant.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Feb 15, 09:42
Size
348 B
Mime Type
text/x-c
Expires
Mon, Feb 17, 09:42 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24249262
Attached To
rDLMA Diffusion limited mixed aggregation
TutorialLinAlgInverseDeterminant.cpp
View Options
#include <iostream>
#include <Eigen/Dense>
using
namespace
std
;
using
namespace
Eigen
;
int
main
()
{
Matrix3f
A
;
A
<<
1
,
2
,
1
,
2
,
1
,
0
,
-
1
,
1
,
2
;
cout
<<
"Here is the matrix A:
\n
"
<<
A
<<
endl
;
cout
<<
"The determinant of A is "
<<
A
.
determinant
()
<<
endl
;
cout
<<
"The inverse of A is:
\n
"
<<
A
.
inverse
()
<<
endl
;
}
Event Timeline
Log In to Comment