Tutorial_ArrayClass_mult.cpp
Go to the documentation of this file.
1 #include <Eigen/Dense>
2 #include <iostream>
3 
4 using namespace Eigen;
5 using namespace std;
6 
7 int main()
8 {
9  ArrayXXf a(2,2);
10  ArrayXXf b(2,2);
11  a << 1,2,
12  3,4;
13  b << 5,6,
14  7,8;
15  cout << "a * b = " << endl << a * b << endl;
16 }
Eigen
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
b
Scalar * b
Definition: benchVecAdd.cpp:17
a
ArrayXXi a
Definition: Array_initializer_list_23_cxx11.cpp:1
main
int main()
Definition: Tutorial_ArrayClass_mult.cpp:7
std
Definition: BFloat16.h:88


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:36