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

Function abs

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

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

Source from the content-addressed store, hash-verified

48 * \sa <a href="group__CoeffwiseMathFunctions.html#cwisetable_abs">Math functions</a>, abs2()
49 */
50EIGEN_DEVICE_FUNC
51EIGEN_STRONG_INLINE const AbsReturnType
52abs() const
53{
54 return AbsReturnType(derived());
55}
56
57/** \returns an expression of the coefficient-wise phase angle of \c *this
58 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected