Home
last modified time | relevance | path

Searched defs:AddIfNull (Results 1 – 2 of 2) sorted by relevance

/external/eigen/test/eigen2/
Deigen2_cwiseop.cpp17 template<typename Scalar> struct AddIfNull { struct
18 const Scalar operator() (const Scalar a, const Scalar b) const {return a<=1e-3 ? b : a;} in operator ()()
19 enum { Cost = NumTraits<Scalar>::AddCost };
/external/eigen/test/
Dcwiseop.cpp28 template<typename Scalar> struct AddIfNull { struct
29 const Scalar operator() (const Scalar a, const Scalar b) const {return a<=1e-3 ? b : a;} in operator ()()
30 enum { Cost = NumTraits<Scalar>::AddCost };