libsimdpp  1.0
simdpp::int16< 8, void > Class Template Reference

Class representing 8x 16-bit signed integer vector. More...

Inheritance diagram for simdpp::int16< 8, void >:

Public Types

using element_type = int16_t
 
using base_vector_type = int16< 8 >
 
using expr_type = void
 
using native_type = detail::array< int16_t, 8 >
 
- Public Types inherited from simdpp::any_int16< 8, int16< 8, void > >
using uint_element_type = uint16_t
 
using int_vector_type = int16< N >
 
using uint_vector_type = uint16< N >
 
using mask_vector_type = mask_int16< N >
 

Public Member Functions

 int16 ()=default
 
 int16 (const int16< 8 > &)=default
 
int16< 8 > & operator= (const int16< 8 > &)=default
 
template<class E >
 int16 (const int16< 8, E > &d)
 
template<class E >
 int16 (const uint16< 8, E > &d)
 
template<class V >
 int16 (const any_vec< 16, V > &d)
 
template<class V >
int16< 8 > & operator= (const any_vec< 16, V > &d)
 
 operator native_type () const
 Convert to the underlying vector type. More...
 
int16< 8 > eval () const
 
 int16 (const native_type &d)
 
int16< 8 > & operator= (const native_type &d)
 
const int16< 8 > & operator[] (unsigned) const
 
int16< 8 > & operator[] (unsigned)
 

Static Public Member Functions

static int16< 8 > zero ()
 
static int16< 8 > ones ()
 

Static Public Attributes

static const unsigned type_tag = SIMDPP_TAG_INT
 
- Static Public Attributes inherited from simdpp::any_int16< 8, int16< 8, void > >
static const unsigned length
 
static const unsigned vec_length
 
static const unsigned num_bits
 
static const uint_element_type all_bits
 
- Static Public Attributes inherited from simdpp::any_vec16< N, int16< 8, void > >
static const unsigned size_tag
 
- Static Public Attributes inherited from simdpp::any_vec< N *2, int16< 8, void > >
static const unsigned length_bytes
 

Detailed Description

template<>
class simdpp::int16< 8, void >

Class representing 8x 16-bit signed integer vector.

Member Typedef Documentation

using simdpp::int16< 8, void >::base_vector_type = int16<8>
using simdpp::int16< 8, void >::element_type = int16_t
using simdpp::int16< 8, void >::expr_type = void
using simdpp::int16< 8, void >::native_type = detail::array<int16_t, 8>

Constructor & Destructor Documentation

simdpp::int16< 8, void >::int16 ( )
default
simdpp::int16< 8, void >::int16 ( const int16< 8 > &  )
default
template<class E >
simdpp::int16< 8, void >::int16 ( const int16< 8, E > &  d)
inline
template<class E >
simdpp::int16< 8, void >::int16 ( const uint16< 8, E > &  d)
inline
template<class V >
simdpp::int16< 8, void >::int16 ( const any_vec< 16, V > &  d)
inlineexplicit
simdpp::int16< 8, void >::int16 ( const native_type d)
inline

Construct from the underlying vector type

Member Function Documentation

int16<8> simdpp::int16< 8, void >::eval ( ) const
inline
static int16<8> simdpp::int16< 8, void >::ones ( )
inlinestatic
simdpp::int16< 8, void >::operator native_type ( ) const
inline

Convert to the underlying vector type.

int16<8>& simdpp::int16< 8, void >::operator= ( const int16< 8 > &  )
default
template<class V >
int16<8>& simdpp::int16< 8, void >::operator= ( const any_vec< 16, V > &  d)
inline
int16<8>& simdpp::int16< 8, void >::operator= ( const native_type d)
inline

Construct from the underlying vector type

const int16<8>& simdpp::int16< 8, void >::operator[] ( unsigned  ) const
inline

Access base vectors

int16<8>& simdpp::int16< 8, void >::operator[] ( unsigned  )
inline

Access base vectors

static int16<8> simdpp::int16< 8, void >::zero ( )
inlinestatic

Member Data Documentation

const unsigned simdpp::int16< 8, void >::type_tag = SIMDPP_TAG_INT
static

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