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

Function abs2

include/Eigen/Eigen/src/plugins/ArrayCwiseUnaryOps.h:82–87  ·  view source on GitHub ↗

\returns an expression of the coefficient-wise squared absolute value of \c *this * * Example: \include Cwise_abs2.cpp * Output: \verbinclude Cwise_abs2.out * * \sa Math functions , abs(), square() */

Source from the content-addressed store, hash-verified

80 * \sa <a href="group__CoeffwiseMathFunctions.html#cwisetable_abs2">Math functions</a>, abs(), square()
81 */
82EIGEN_DEVICE_FUNC
83EIGEN_STRONG_INLINE const Abs2ReturnType
84abs2() const
85{
86 return Abs2ReturnType(derived());
87}
88
89/** \returns an expression of the coefficient-wise exponential of *this.
90 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected