Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Eigen::internal::norm1_default_impl< Scalar, IsComplex > Struct Template Reference

#include <src/eigen/Eigen/src/Core/MathFunctions.h>

+ Inheritance diagram for Eigen::internal::norm1_default_impl< Scalar, IsComplex >:

Public Types

typedef NumTraits< Scalar >::Real RealScalar
 

Static Public Member Functions

static EIGEN_DEVICE_FUNC RealScalar run (const Scalar &x)
 

Detailed Description

template<typename Scalar, bool IsComplex>
struct Eigen::internal::norm1_default_impl< Scalar, IsComplex >

Member Typedef Documentation

◆ RealScalar

template<typename Scalar , bool IsComplex>
typedef NumTraits<Scalar>::Real Eigen::internal::norm1_default_impl< Scalar, IsComplex >::RealScalar

Member Function Documentation

◆ run()

template<typename Scalar , bool IsComplex>
static EIGEN_DEVICE_FUNC RealScalar Eigen::internal::norm1_default_impl< Scalar, IsComplex >::run ( const Scalar &  x)
inlinestatic
321 {
322 EIGEN_USING_STD_MATH(abs);
323 return abs(real(x)) + abs(imag(x));
324 }
EIGEN_DEVICE_FUNC RealReturnType real() const
Definition CommonCwiseUnaryOps.h:86
EIGEN_DEVICE_FUNC const ImagReturnType imag() const
Definition CommonCwiseUnaryOps.h:95
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC half abs(const half &a)
Definition Half.h:445

References imag(), and real().

+ Here is the call graph for this function:

The documentation for this struct was generated from the following file: