Home
last modified time | relevance | path

Searched refs:CwiseClampOp (Results 1 – 1 of 1) sorted by relevance

/external/eigen/doc/examples/
Dclass_CwiseUnaryOp.cpp8 struct CwiseClampOp { struct
9 CwiseClampOp(const Scalar& inf, const Scalar& sup) : m_inf(inf), m_sup(sup) {} in CwiseClampOp() function
17 cout << m1 << endl << "becomes: " << endl << m1.unaryExpr(CwiseClampOp<double>(-0.5,0.5)) << endl; in main() argument