class_CwiseUnaryOp.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_CwiseUnaryOp.cpp.

13 {
15  std::cout << m1 << std::endl << "becomes: " << std::endl << m1.unaryExpr(CwiseClampOp<double>(-0.5,0.5)) << std::endl;
16  return 0;
17 }
Matrix3d m1
Definition: IOFormat.cpp:2
static const RandomReturnType Random()
Definition: Random.h:114
The matrix class, also used for vectors and row-vectors.
Definition: Matrix.h:182