T-SIMD v31.1.0
A C++ template SIMD library
Loading...
Searching...
No Matches
Masked Mathematical Functions

Description

Masked mathematical functions on Vec's, such as sqrt, rcp, etc.

See also
Mathematical Functions

Functions

template<typename T , size_t SIMD_WIDTH>
static Vec< T, SIMD_WIDTH > simd::mask_rcp (const Vec< T, SIMD_WIDTH > &src, const Mask< T, SIMD_WIDTH > &k, const Vec< T, SIMD_WIDTH > &a)
 Masked version of rcp(const Vec<T, SIMD_WIDTH> &).
 
template<typename T , size_t SIMD_WIDTH>
static Vec< T, SIMD_WIDTH > simd::mask_rsqrt (const Vec< T, SIMD_WIDTH > &src, const Mask< T, SIMD_WIDTH > &k, const Vec< T, SIMD_WIDTH > &a)
 Masked version of rsqrt(const Vec<T, SIMD_WIDTH> &).
 
template<typename T , size_t SIMD_WIDTH>
static Vec< T, SIMD_WIDTH > simd::mask_sqrt (const Vec< T, SIMD_WIDTH > &src, const Mask< T, SIMD_WIDTH > &k, const Vec< T, SIMD_WIDTH > &a)
 Masked version of sqrt(const Vec<T, SIMD_WIDTH> &).
 
template<typename T , size_t SIMD_WIDTH>
static Vec< T, SIMD_WIDTH > simd::maskz_rcp (const Mask< T, SIMD_WIDTH > &k, const Vec< T, SIMD_WIDTH > &a)
 Zero-masked version of rcp(const Vec<T, SIMD_WIDTH> &).
 
template<typename T , size_t SIMD_WIDTH>
static Vec< T, SIMD_WIDTH > simd::maskz_rsqrt (const Mask< T, SIMD_WIDTH > &k, const Vec< T, SIMD_WIDTH > &a)
 Zero-masked version of rsqrt(const Vec<T, SIMD_WIDTH> &).
 
template<typename T , size_t SIMD_WIDTH>
static Vec< T, SIMD_WIDTH > simd::maskz_sqrt (const Mask< T, SIMD_WIDTH > &k, const Vec< T, SIMD_WIDTH > &a)
 Zero-masked version of sqrt(const Vec<T, SIMD_WIDTH> &).