| 262 | } |
| 263 | |
| 264 | uint32_t hash_components() const { |
| 265 | size_t h = std::hash<size_t>{}(T::RowsAtCompileTime); |
| 266 | boost::hash_combine(h, std::hash<size_t>{}(T::ColsAtCompileTime)); |
| 267 | if (components_) { |
| 268 | for (int i = 0; i < components_->size(); ++i) { |
| 269 | auto elem = *(components_->data() + (size_t)i); |
| 270 | boost::hash_combine(h, std::hash<typename T::Scalar>()(elem)); |
| 271 | } |
| 272 | } |
| 273 | return (uint32_t)h; |
| 274 | } |
| 275 | }; |
| 276 | |
| 277 | struct IFC_GEOM_API matrix4 : public item, public eigen_base<Eigen::Matrix4d> { |
no test coverage detected