Eigen::internal::sign_impl< Scalar, IsComplex, IsInteger > Struct Template Reference

#include <MathFunctions.h>

Static Public Member Functions

static EIGEN_DEVICE_FUNC Scalar run (const Scalar &a)
 

Member Function Documentation

◆ run()

template<typename Scalar , bool IsComplex = (NumTraits<Scalar>::IsComplex != 0), bool IsInteger = (NumTraits<Scalar>::IsInteger != 0)>
static EIGEN_DEVICE_FUNC Scalar Eigen::internal::sign_impl< Scalar, IsComplex, IsInteger >::run ( const Scalar a)
inlinestatic
831 { return Scalar((a > Scalar(0)) - (a < Scalar(0))); }
SCALAR Scalar
Definition: bench_gemm.cpp:45
const Scalar * a
Definition: level2_cplx_impl.h:32

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