v1.0
Classes
|
Functions
class_CwiseBinaryOp.cpp File Reference
#include <Eigen/Core>
#include <iostream>
Classes
struct
MakeComplexOp< Scalar >
Functions
int
main
(
int
,
char
**)
Function Documentation
◆
main()
int
main
(
int
,
char
**
)
13
{
14
Matrix4d
m1
= Matrix4d::Random(),
m2
= Matrix4d::Random();
15
std::cout <<
m1
.binaryExpr(
m2
,
MakeComplexOp<double>
()) << std::endl;
16
return
0;
17
}
m1
Matrix3d m1
Definition:
IOFormat.cpp:2
m2
MatrixType m2(n_dims)
MakeComplexOp
Definition:
class_CwiseBinaryOp.cpp:8
References
m1
, and
m2()
.
Eigen
doc
examples
class_CwiseBinaryOp.cpp
Generated on Wed Aug 27 2025 17:04:54 for MercuryDPM by
1.9.1