vspline 1.1.0
Generic C++11 Code for Uniform B-Splines
|
#include <hwy_simd_type.h>
Classes | |
struct | masked_type |
Public Types | |
typedef std::size_t | size_type |
typedef _value_type | value_type |
typedef value_type | T |
typedef hn::CappedTag< value_type, vsize > | D |
typedef hn::Vec< D > | vec_t |
typedef hn::Vec< hn::RebindToSigned< D > > | hw_index_type |
typedef hn::DFromV< hw_index_type > | DI |
typedef hn::TFromD< DI > | TI |
typedef hwy_simd_type< TI, vsize > | index_type |
typedef mchunk_t< D, vsize > | mask_type |
typedef mchunk_t< D, vsize > | MaskType |
Public Member Functions | |
void | info () const |
T * | data () |
const T * | data () const |
vec_t | yield (const std::size_t &i) const |
void | take (const std::size_t &i, const vec_t &rhs) |
template<typename DT > | |
hn::Vec< DT > | dt_yield (const std::size_t &i) const |
template<typename DT > | |
void | dt_take (const std::size_t &i, const hn::Vec< DT > &rhs) |
hwy_simd_type (const T &x) | |
hwy_simd_type ()=default | |
hwy_simd_type & | operator= (const hwy_simd_type &rhs) |
hwy_simd_type & | operator= (const hwy_simd_type &&rhs) |
hwy_simd_type & | operator= (const T &rhs) |
hwy_simd_type (const hwy_simd_type &x) | |
hwy_simd_type (const hwy_simd_type &&x) | |
value_type & | operator[] (const size_type &i) |
value_type | operator[] (const size_type &i) const |
template<typename U > | |
hwy_simd_type & | operator= (const hwy_simd_type< U, vsize > &rhs) |
template<typename U > | |
hwy_simd_type & | operator= (const vspline::simd_type< U, vsize > &rhs) |
template<typename U > | |
operator vspline::simd_type< U, vsize > () | |
template<typename U > | |
hwy_simd_type (const hwy_simd_type< U, vsize > &rhs) | |
template<typename U > | |
hwy_simd_type (const vspline::simd_type< U, vsize > &rhs) | |
hwy_simd_type & | setQnan (const mask_type &m) |
hwy_simd_type & | setZero (const mask_type &m) |
void | load (const value_type *const &p_src) |
void | load_aligned (const value_type *const &p_src) |
void | store (value_type *const p_trg) const |
void | store_aligned (value_type *const &p_trg) const |
void | gather (const value_type *const &p_src, const index_type &indexes) |
void | scatter (value_type *const &p_trg, const index_type &indexes) const |
template<typename index_t > | |
void | gather (const value_type *const &p_src, const index_t &indexes) |
template<typename index_t > | |
void | scatter (value_type *const &p_trg, const index_t &indexes) const |
template<typename index_t > | |
hwy_simd_type (const value_type *const &p_src, const index_t &indexes) | |
void | rgather (const value_type *const &p_src, const std::size_t &step) |
void | rscatter (value_type *const &p_trg, const std::size_t &step) const |
template<typename rhs_t > | |
hwy_simd_type & | div (const rhs_t &rhs, std::false_type) |
hwy_simd_type & | div (const T &rhs, std::false_type) |
template<typename rhs_t > | |
hwy_simd_type & | div (const rhs_t &rhs, std::true_type) |
hwy_simd_type & | div (const T &rhs, std::true_type) |
template<typename rhs_t > | |
hwy_simd_type & | operator/= (const rhs_t &rhs) |
template<typename rhs_t > | |
hwy_simd_type & | operator%= (const rhs_t &rhs) |
hwy_simd_type & | operator%= (const T &rhs) |
COMPARE_FUNC (Lt, operator<) | |
COMPARE_FUNC (Le, operator<=) | |
COMPARE_FUNC (Gt, operator>) | |
COMPARE_FUNC (Ge, operator>=) | |
COMPARE_FUNC (Eq, operator==) | |
COMPARE_FUNC (Ne, operator!=) | |
masked_type | operator() (const mask_type &mask) |
value_type | sum () const |
Static Public Member Functions | |
static constexpr std::size_t | L () |
static constexpr size_type | size () |
static hwy_simd_type | copysign (hwy_simd_type value, const hwy_simd_type &sign_source) |
static mask_type | isnegative (const hwy_simd_type &rhs) |
static mask_type | isfinite (const hwy_simd_type &rhs) |
static mask_type | isnan (const hwy_simd_type &rhs) |
static const hwy_simd_type | iota () |
static const index_type | IndexesFromZero () |
static const index_type | IndexesFrom (const std::size_t &start, const std::size_t &step=1) |
static const hwy_simd_type | Zero () |
static const hwy_simd_type | One () |
Static Public Attributes | |
static const size_type | vsize = _vsize |
static const int | ivsize = _vsize |
static const int | vbytes = sizeof ( value_type ) * vsize |
Friends | |
std::ostream & | operator<< (std::ostream &osr, hwy_simd_type it) |
std::istream & | operator>> (std::istream &isr, hwy_simd_type it) |
hwy_simd_type | tan (const hwy_simd_type &arg) |
hwy_simd_type | atan2 (const hwy_simd_type &y, const hwy_simd_type &x) |
hwy_simd_type | pow (const hwy_simd_type &base, const hwy_simd_type &exponent) |
Definition at line 803 of file hwy_simd_type.h.
typedef hn::CappedTag< value_type , vsize > HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::D |
Definition at line 832 of file hwy_simd_type.h.
typedef hn::DFromV< hw_index_type > HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::DI |
Definition at line 872 of file hwy_simd_type.h.
typedef hn::Vec< hn::RebindToSigned < D > > HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::hw_index_type |
Definition at line 871 of file hwy_simd_type.h.
typedef hwy_simd_type< TI , vsize > HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::index_type |
Definition at line 874 of file hwy_simd_type.h.
typedef mchunk_t< D , vsize > HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::mask_type |
Definition at line 885 of file hwy_simd_type.h.
typedef mchunk_t< D , vsize > HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::MaskType |
Definition at line 886 of file hwy_simd_type.h.
typedef std::size_t HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::size_type |
Definition at line 805 of file hwy_simd_type.h.
typedef value_type HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::T |
Definition at line 808 of file hwy_simd_type.h.
typedef hn::TFromD< DI > HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::TI |
Definition at line 873 of file hwy_simd_type.h.
typedef _value_type HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::value_type |
Definition at line 807 of file hwy_simd_type.h.
typedef hn::Vec< D > HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::vec_t |
Definition at line 833 of file hwy_simd_type.h.
|
inline |
Definition at line 1030 of file hwy_simd_type.h.
|
default |
|
inline |
Definition at line 1061 of file hwy_simd_type.h.
|
inline |
Definition at line 1066 of file hwy_simd_type.h.
|
inline |
Definition at line 1118 of file hwy_simd_type.h.
|
inline |
Definition at line 1124 of file hwy_simd_type.h.
|
inline |
Definition at line 1436 of file hwy_simd_type.h.
HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::COMPARE_FUNC | ( | Eq | , |
operator | = = |
||
) |
HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::COMPARE_FUNC | ( | Ge | , |
operator>= | |||
) |
HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::COMPARE_FUNC | ( | Gt | , |
operator | |||
) |
HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::COMPARE_FUNC | ( | Le | , |
operator<= | |||
) |
HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::COMPARE_FUNC | ( | Lt | ) |
HWY_NAMESPACE::hwy_simd_type< _value_type, _vsize >::COMPARE_FUNC | ( | Ne | , |
operator! | |||
) |
|
inlinestatic |
Definition at line 1139 of file hwy_simd_type.h.
|
inline |
Definition at line 909 of file hwy_simd_type.h.
|
inline |
Definition at line 914 of file hwy_simd_type.h.
|
inline |
Definition at line 1655 of file hwy_simd_type.h.
|
inline |
Definition at line 1673 of file hwy_simd_type.h.
|
inline |
Definition at line 1663 of file hwy_simd_type.h.
|
inline |
Definition at line 1680 of file hwy_simd_type.h.
|
inline |
Definition at line 949 of file hwy_simd_type.h.
|
inline |
Definition at line 943 of file hwy_simd_type.h.
|
inline |
Definition at line 1418 of file hwy_simd_type.h.
|
inline |
Definition at line 1393 of file hwy_simd_type.h.
|
inlinestatic |
Definition at line 1235 of file hwy_simd_type.h.
|
inlinestatic |
Definition at line 1218 of file hwy_simd_type.h.
|
inline |
Definition at line 837 of file hwy_simd_type.h.
|
inlinestatic |
Definition at line 1201 of file hwy_simd_type.h.
|
inlinestatic |
Definition at line 1157 of file hwy_simd_type.h.
|
inlinestatic |
Definition at line 1167 of file hwy_simd_type.h.
|
inlinestatic |
Definition at line 1152 of file hwy_simd_type.h.
|
inlinestaticconstexpr |
Definition at line 862 of file hwy_simd_type.h.
|
inline |
Definition at line 1292 of file hwy_simd_type.h.
|
inline |
Definition at line 1298 of file hwy_simd_type.h.
|
inlinestatic |
Definition at line 1255 of file hwy_simd_type.h.
|
inline |
Definition at line 1110 of file hwy_simd_type.h.
|
inline |
Definition at line 1697 of file hwy_simd_type.h.
|
inline |
Definition at line 1705 of file hwy_simd_type.h.
|
inline |
Definition at line 2009 of file hwy_simd_type.h.
|
inline |
Definition at line 1688 of file hwy_simd_type.h.
|
inline |
Definition at line 1047 of file hwy_simd_type.h.
|
inline |
Definition at line 1040 of file hwy_simd_type.h.
|
inline |
Definition at line 1092 of file hwy_simd_type.h.
|
inline |
Definition at line 1054 of file hwy_simd_type.h.
|
inline |
Definition at line 1101 of file hwy_simd_type.h.
|
inline |
Definition at line 1076 of file hwy_simd_type.h.
|
inline |
Definition at line 1081 of file hwy_simd_type.h.
|
inline |
Definition at line 1450 of file hwy_simd_type.h.
|
inline |
Definition at line 1457 of file hwy_simd_type.h.
|
inline |
Definition at line 1426 of file hwy_simd_type.h.
|
inline |
Definition at line 1401 of file hwy_simd_type.h.
|
inline |
Definition at line 1177 of file hwy_simd_type.h.
|
inline |
Definition at line 1188 of file hwy_simd_type.h.
|
inlinestaticconstexpr |
Definition at line 902 of file hwy_simd_type.h.
|
inline |
Definition at line 1306 of file hwy_simd_type.h.
|
inline |
Definition at line 1312 of file hwy_simd_type.h.
|
inline |
Definition at line 2039 of file hwy_simd_type.h.
|
inline |
Definition at line 932 of file hwy_simd_type.h.
|
inline |
Definition at line 927 of file hwy_simd_type.h.
|
inlinestatic |
Definition at line 1250 of file hwy_simd_type.h.
|
friend |
Definition at line 1563 of file hwy_simd_type.h.
|
friend |
Definition at line 1264 of file hwy_simd_type.h.
|
friend |
Definition at line 1275 of file hwy_simd_type.h.
|
friend |
Definition at line 1580 of file hwy_simd_type.h.
|
friend |
Definition at line 1502 of file hwy_simd_type.h.
|
static |
Definition at line 816 of file hwy_simd_type.h.
|
static |
Definition at line 817 of file hwy_simd_type.h.
|
static |
Definition at line 815 of file hwy_simd_type.h.