MCPcopy Create free account
hub / github.com/HiLab-git/SimpleCRF / addTo

Method addTo

dependency/densecrf/include/Eigen/src/Core/EigenBase.h:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 /** \internal Don't use it, but do the equivalent: \code dst += *this; \endcode */
76 template<typename Dest>
77 EIGEN_DEVICE_FUNC
78 inline void addTo(Dest& dst) const
79 {
80 // This is the default implementation,
81 // derived class can reimplement it in a more optimized way.
82 typename Dest::PlainObject res(rows(),cols());
83 evalTo(res);
84 dst += res;
85 }
86
87 /** \internal Don't use it, but do the equivalent: \code dst -= *this; \endcode */
88 template<typename Dest>

Callers 1

runMethod · 0.45

Calls 3

rowsFunction · 0.70
colsFunction · 0.70
evalToFunction · 0.70

Tested by

no test coverage detected