class_CwiseBinaryOp.cpp File Reference

Go to the source code of this file.

Functions

int main (int, char **)
 

Function Documentation

◆ main()

int main ( int  ,
char **   
)

Definition at line 12 of file class_CwiseBinaryOp.cpp.

13 {
14  Matrix4d m1 = Matrix4d::Random(), m2 = Matrix4d::Random();
15  std::cout << m1.binaryExpr(m2, MakeComplexOp<double>()) << std::endl;
16  return 0;
17 }
Matrix3d m1
Definition: IOFormat.cpp:2
MatrixType m2(n_dims)
Matrix< double, 4, 4 > Matrix4d
4×4 matrix of type double.
Definition: Matrix.h:502