Eigen 3.4.90
doc
examples
Functions
Tutorial_ArrayClass_mult.cpp File Reference
Go to the source code of this file.
Functions
int
main
()
Function Documentation
◆
main()
int main
(
)
Definition at line
4
of file
Tutorial_ArrayClass_mult.cpp
.
5
{
6
Eigen::ArrayXXf
a
(2,2);
7
Eigen::ArrayXXf
b
(2,2);
8
a
<< 1,2,
9
3,4;
10
b
<< 5,6,
11
7,8;
12
std::cout <<
"a * b = "
<< std::endl <<
a
*
b
<< std::endl;
13
}
a
ArrayXXi a
Definition:
Array_initializer_list_23_cxx11.cpp:1
b
Array< int, 3, 1 > b
Definition:
Array_variadic_ctor_cxx11.cpp:2
Eigen::Array
General-purpose arrays with easy API for coefficient-wise operations.
Definition:
Array.h:49