Eigen::numext¶
Classes¶
Name | |
---|---|
struct | Eigen::numext::equal_to |
struct | Eigen::numext::not_equal_to |
Functions¶
Name | |
---|---|
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE bool() | isnan(const Eigen::bfloat16 & h) |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE bool() | isinf(const Eigen::bfloat16 & h) |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE bool() | isfinite(const Eigen::bfloat16 & h) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Eigen::bfloat16 | bit_cast< Eigen::bfloat16, uint16_t >(const uint16_t & src) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC uint16_t | bit_cast< uint16_t, Eigen::bfloat16 >(const Eigen::bfloat16 & src) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Eigen::half | bit_cast< Eigen::half, uint16_t >(const uint16_t & src) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC uint16_t | bit_cast< uint16_t, Eigen::half >(const Eigen::half & src) |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE float | sqrt(const float & x) |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE double | sqrt(const double & x) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
mini(const T & x, const T & y) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
maxi(const T & x, const T & y) |
template <typename Scalar > EIGEN_DEVICE_FUNC Eigen::internal::real_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type |
real(const Scalar & x) |
template <typename Scalar > EIGEN_DEVICE_FUNC internal::add_const_on_value_type< typenameEigen::internal::real_ref_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type >::type |
real_ref(const Scalar & x) |
template <typename Scalar > EIGEN_DEVICE_FUNC Eigen::internal::real_ref_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type |
real_ref(Scalar & x) |
template <typename Scalar > EIGEN_DEVICE_FUNC Eigen::internal::imag_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type |
imag(const Scalar & x) |
template <typename Scalar > EIGEN_DEVICE_FUNC Eigen::internal::arg_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type |
arg(const Scalar & x) |
template <typename Scalar > EIGEN_DEVICE_FUNC internal::add_const_on_value_type< typenameEigen::internal::imag_ref_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type >::type |
imag_ref(const Scalar & x) |
template <typename Scalar > EIGEN_DEVICE_FUNC Eigen::internal::imag_ref_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type |
imag_ref(Scalar & x) |
template <typename Scalar > EIGEN_DEVICE_FUNC Eigen::internal::conj_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type |
conj(const Scalar & x) |
template <typename Scalar > EIGEN_DEVICE_FUNC Eigen::internal::abs2_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type |
abs2(const Scalar & x) |
EIGEN_DEVICE_FUNC bool | abs2(bool x) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
absdiff(const T & x, const T & y) |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE float | absdiff(const float & x, const float & y) |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE double | absdiff(const double & x, const double & y) |
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE long double | absdiff(const long double & x, const long double & y) |
template <typename Scalar > EIGEN_DEVICE_FUNC Eigen::internal::norm1_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type |
norm1(const Scalar & x) |
template <typename Scalar > EIGEN_DEVICE_FUNC Eigen::internal::hypot_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type |
hypot(const Scalar & x, const Scalar & y) |
template <typename Scalar > EIGEN_DEVICE_FUNC Eigen::internal::log1p_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type |
log1p(const Scalar & x) |
template <typename ScalarX ,typename ScalarY > EIGEN_DEVICE_FUNC internal::pow_impl< ScalarX, ScalarY >::result_type |
pow(const ScalarX & x, const ScalarY & y) |
template <typename T > EIGEN_DEVICE_FUNC bool() |
isnan(const T & x) |
template <typename T > EIGEN_DEVICE_FUNC bool() |
isinf(const T & x) |
template <typename T > EIGEN_DEVICE_FUNC bool() |
isfinite(const T & x) |
template <typename Scalar > EIGEN_DEVICE_FUNC Eigen::internal::rint_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type |
rint(const Scalar & x) |
template <typename Scalar > EIGEN_DEVICE_FUNC Eigen::internal::round_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type |
round(const Scalar & x) |
template <typename T > EIGEN_DEVICE_FUNC T() |
floor(const T & x) |
template <typename T > EIGEN_DEVICE_FUNC T() |
ceil(const T & x) |
int | log2(int x) |
template <typename Scalar > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Eigen::internal::sqrt_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type |
sqrt(const Scalar & x) |
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_DEVICE_FUNC bool | sqrt< bool >(const bool & x) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
rsqrt(const T & x) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
log(const T & x) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE internal::enable_if< NumTraits< T >::IsSigned |
|
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE internal::enable_if<!(NumTraits< T >::IsSigned |
|
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
exp(const T & x) |
template <typename Scalar > EIGEN_DEVICE_FUNC Eigen::internal::expm1_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type |
expm1(const Scalar & x) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
cos(const T & x) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
sin(const T & x) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
tan(const T & x) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
acos(const T & x) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
asin(const T & x) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
atan(const T & x) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
cosh(const T & x) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
sinh(const T & x) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
tanh(const T & x) |
template <typename T > EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T |
fmod(const T & a, const T & b) |
template <typename Tgt ,typename Src > EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Tgt |
bit_cast(const Src & src) |
template <typename T > EIGEN_STRONG_INLINE void |
swap(T & a, T & b) |
template <typename T > EIGEN_DEVICE_FUNC T |
div_ceil(const T & a, const T & b) |
template <typename X ,typename Y > EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool |
equal_strict(const X & x, const Y & y) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool | equal_strict(const float & x, const float & y) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool | equal_strict(const double & x, const double & y) |
template <typename X ,typename Y > EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool |
not_equal_strict(const X & x, const Y & y) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool | not_equal_strict(const float & x, const float & y) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool | not_equal_strict(const double & x, const double & y) |
Attributes¶
Name | |
---|---|
typedef::uint8_t | uint8_t |
typedef::int8_t | int8_t |
typedef::uint16_t | uint16_t |
typedef::int16_t | int16_t |
typedef::uint32_t | uint32_t |
typedef::int32_t | int32_t |
typedef::uint64_t | uint64_t |
typedef::int64_t | int64_t |
Functions Documentation¶
function isnan¶
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE bool() isnan(
const Eigen::bfloat16 & h
)
function isinf¶
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE bool() isinf(
const Eigen::bfloat16 & h
)
function isfinite¶
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE bool() isfinite(
const Eigen::bfloat16 & h
)
function bit_cast< Eigen::bfloat16, uint16_t >¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Eigen::bfloat16 bit_cast< Eigen::bfloat16, uint16_t >(
const uint16_t & src
)
function bit_cast< uint16_t, Eigen::bfloat16 >¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC uint16_t bit_cast< uint16_t, Eigen::bfloat16 >(
const Eigen::bfloat16 & src
)
function bit_cast< Eigen::half, uint16_t >¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Eigen::half bit_cast< Eigen::half, uint16_t >(
const uint16_t & src
)
function bit_cast< uint16_t, Eigen::half >¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC uint16_t bit_cast< uint16_t, Eigen::half >(
const Eigen::half & src
)
function sqrt¶
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE float sqrt(
const float & x
)
function sqrt¶
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE double sqrt(
const double & x
)
function mini¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T mini(
const T & x,
const T & y
)
function maxi¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T maxi(
const T & x,
const T & y
)
function real¶
template <typename Scalar >
inline EIGEN_DEVICE_FUNC Eigen::internal::real_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type real(
const Scalar & x
)
function real_ref¶
template <typename Scalar >
inline EIGEN_DEVICE_FUNC internal::add_const_on_value_type< typenameEigen::internal::real_ref_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type >::type real_ref(
const Scalar & x
)
function real_ref¶
template <typename Scalar >
inline EIGEN_DEVICE_FUNC Eigen::internal::real_ref_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type real_ref(
Scalar & x
)
function imag¶
template <typename Scalar >
inline EIGEN_DEVICE_FUNC Eigen::internal::imag_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type imag(
const Scalar & x
)
function arg¶
template <typename Scalar >
inline EIGEN_DEVICE_FUNC Eigen::internal::arg_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type arg(
const Scalar & x
)
function imag_ref¶
template <typename Scalar >
inline EIGEN_DEVICE_FUNC internal::add_const_on_value_type< typenameEigen::internal::imag_ref_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type >::type imag_ref(
const Scalar & x
)
function imag_ref¶
template <typename Scalar >
inline EIGEN_DEVICE_FUNC Eigen::internal::imag_ref_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type imag_ref(
Scalar & x
)
function conj¶
template <typename Scalar >
inline EIGEN_DEVICE_FUNC Eigen::internal::conj_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type conj(
const Scalar & x
)
function abs2¶
template <typename Scalar >
inline EIGEN_DEVICE_FUNC Eigen::internal::abs2_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type abs2(
const Scalar & x
)
function abs2¶
inline EIGEN_DEVICE_FUNC bool abs2(
bool x
)
function absdiff¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T absdiff(
const T & x,
const T & y
)
function absdiff¶
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE float absdiff(
const float & x,
const float & y
)
function absdiff¶
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE double absdiff(
const double & x,
const double & y
)
function absdiff¶
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE long double absdiff(
const long double & x,
const long double & y
)
function norm1¶
template <typename Scalar >
inline EIGEN_DEVICE_FUNC Eigen::internal::norm1_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type norm1(
const Scalar & x
)
function hypot¶
template <typename Scalar >
inline EIGEN_DEVICE_FUNC Eigen::internal::hypot_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type hypot(
const Scalar & x,
const Scalar & y
)
function log1p¶
template <typename Scalar >
inline EIGEN_DEVICE_FUNC Eigen::internal::log1p_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type log1p(
const Scalar & x
)
function pow¶
template <typename ScalarX ,
typename ScalarY >
inline EIGEN_DEVICE_FUNC internal::pow_impl< ScalarX, ScalarY >::result_type pow(
const ScalarX & x,
const ScalarY & y
)
function isnan¶
template <typename T >
EIGEN_DEVICE_FUNC bool() isnan(
const T & x
)
function isinf¶
template <typename T >
EIGEN_DEVICE_FUNC bool() isinf(
const T & x
)
function isfinite¶
template <typename T >
EIGEN_DEVICE_FUNC bool() isfinite(
const T & x
)
function rint¶
template <typename Scalar >
inline EIGEN_DEVICE_FUNC Eigen::internal::rint_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type rint(
const Scalar & x
)
function round¶
template <typename Scalar >
inline EIGEN_DEVICE_FUNC Eigen::internal::round_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type round(
const Scalar & x
)
function floor¶
template <typename T >
EIGEN_DEVICE_FUNC T() floor(
const T & x
)
function ceil¶
template <typename T >
EIGEN_DEVICE_FUNC T() ceil(
const T & x
)
function log2¶
inline int log2(
int x
)
Log base 2 for 32 bits positive integers. Conveniently returns 0 for x==0.
function sqrt¶
template <typename Scalar >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Eigen::internal::sqrt_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type sqrt(
const Scalar & x
)
Return: the square root of x.
It is essentially equivalent to
using std::sqrt; return sqrt(x);
but slightly faster for float/double and some compilers (e.g., gcc), thanks to specializations when SSE is enabled.
It's usage is justified in performance critical functions, like norm/normalize.
function sqrt< bool >¶
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_DEVICE_FUNC bool sqrt< bool >(
const bool & x
)
function rsqrt¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T rsqrt(
const T & x
)
Return: the reciprocal square root of x.
function log¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T log(
const T & x
)
function abs¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE internal::enable_if< NumTraits< T >::IsSigned||NumTraits< T >::IsComplex, typenameNumTraits< T >::Real >::type abs(
const T & x
)
function abs¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE internal::enable_if<!(NumTraits< T >::IsSigned||NumTraits< T >::IsComplex), typenameNumTraits< T >::Real >::type abs(
const T & x
)
function exp¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T exp(
const T & x
)
function expm1¶
template <typename Scalar >
inline EIGEN_DEVICE_FUNC Eigen::internal::expm1_retval< typenameEigen::internal::global_math_functions_filtering_base< Scalar >::type >::type expm1(
const Scalar & x
)
function cos¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T cos(
const T & x
)
function sin¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T sin(
const T & x
)
function tan¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T tan(
const T & x
)
function acos¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T acos(
const T & x
)
function asin¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T asin(
const T & x
)
function atan¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T atan(
const T & x
)
function cosh¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T cosh(
const T & x
)
function sinh¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T sinh(
const T & x
)
function tanh¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T tanh(
const T & x
)
function fmod¶
template <typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T fmod(
const T & a,
const T & b
)
function bit_cast¶
template <typename Tgt ,
typename Src >
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Tgt bit_cast(
const Src & src
)
function swap¶
template <typename T >
EIGEN_STRONG_INLINE void swap(
T & a,
T & b
)
function div_ceil¶
template <typename T >
EIGEN_DEVICE_FUNC T div_ceil(
const T & a,
const T & b
)
function equal_strict¶
template <typename X ,
typename Y >
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool equal_strict(
const X & x,
const Y & y
)
function equal_strict¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool equal_strict(
const float & x,
const float & y
)
function equal_strict¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool equal_strict(
const double & x,
const double & y
)
function not_equal_strict¶
template <typename X ,
typename Y >
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool not_equal_strict(
const X & x,
const Y & y
)
function not_equal_strict¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool not_equal_strict(
const float & x,
const float & y
)
function not_equal_strict¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool not_equal_strict(
const double & x,
const double & y
)
Attributes Documentation¶
variable uint8_t¶
typedef::uint8_t uint8_t;
variable int8_t¶
typedef::int8_t int8_t;
variable uint16_t¶
typedef::uint16_t uint16_t;
variable int16_t¶
typedef::int16_t int16_t;
variable uint32_t¶
typedef::uint32_t uint32_t;
variable int32_t¶
typedef::int32_t int32_t;
variable uint64_t¶
typedef::uint64_t uint64_t;
variable int64_t¶
typedef::int64_t int64_t;
Updated on 2023-11-29 at 18:22:21 +0000