Sign in
third-party-mirror
/
eigen
/
2571273647cdf6673639ebe9b3aa3237c1e7a822
/
.
/
doc
/
examples
/
Tutorial_ArrayClass_mult.cpp
blob: 39c230094dd58f9f468b9c0778751588466ff8ac [
file
] [
log
] [
blame
]
#include
<
Eigen
/
Dense
>
#include
<iostream>
int
main
()
{
Eigen
::
ArrayXXf
a
(
2
,
2
);
Eigen
::
ArrayXXf
b
(
2
,
2
);
a
<<
1
,
2
,
3
,
4
;
b
<<
5
,
6
,
7
,
8
;
std
::
cout
<<
"a * b = "
<<
std
::
endl
<<
a
*
b
<<
std
::
endl
;
}