Eigen 3.4.90
doc
examples
Tutorial_ArrayClass_mult.cpp
Go to the documentation of this file.
1
#include <
Eigen/Dense
>
2
#include <iostream>
3
4
int
main
()
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
Dense
main
int main()
Definition:
Tutorial_ArrayClass_mult.cpp:4
Eigen::Array
General-purpose arrays with easy API for coefficient-wise operations.
Definition:
Array.h:49