MCPcopy Create free account
hub / github.com/TinyMPC/TinyMPC / hnormalized

Method hnormalized

include/Eigen/Eigen/src/Geometry/Homogeneous.h:175–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173 * \sa VectorwiseOp::hnormalized() */
174template<typename Derived>
175EIGEN_DEVICE_FUNC inline const typename MatrixBase<Derived>::HNormalizedReturnType
176MatrixBase<Derived>::hnormalized() const
177{
178 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived);
179 return ConstStartMinusOne(derived(),0,0,
180 ColsAtCompileTime==1?size()-1:1,
181 ColsAtCompileTime==1?1:size()-1) / coeff(size()-1);
182}
183
184/** \geometry_module \ingroup Geometry_Module
185 *

Callers

nothing calls this directly

Calls 3

coeffFunction · 0.50
rowsMethod · 0.45
colsMethod · 0.45

Tested by

no test coverage detected