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

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

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

Public Types

using element_type = int16_t
 
using base_vector_type = int16< 16 >
 
using expr_type = void
 
- Public Types inherited from simdpp::any_int16< 16, int16< 16, 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< 16 > &)=default
 
int16< 16 > & operator= (const int16< 16 > &)=default
 
template<class E >
 int16 (const int16< 16, E > &d)
 
template<class E >
 int16 (const uint16< 16, E > &d)
 
template<class V >
 int16 (const any_vec< 32, V > &d)
 
template<class V >
int16< 16 > & operator= (const any_vec< 32, V > &d)
 
 operator native_type () const
 Convert to the underlying vector type. More...
 
int16< 16 > eval () const
 
 int16 (const native_type &d)
 
int16< 16 > & operator= (const native_type &d)
 
const int16< 16 > & operator[] (unsigned) const
 
int16< 16 > & operator[] (unsigned)
 

Static Public Member Functions

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

Static Public Attributes

static const unsigned type_tag = SIMDPP_TAG_INT
 
- Static Public Attributes inherited from simdpp::any_int16< 16, int16< 16, 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< 16, void > >
static const unsigned size_tag
 
- Static Public Attributes inherited from simdpp::any_vec< N *2, int16< 16, void > >
static const unsigned length_bytes
 

Detailed Description

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

Class representing 16x 16-bit signed integer vector.

Member Typedef Documentation

using simdpp::int16< 16, void >::base_vector_type = int16<16>
using simdpp::int16< 16, void >::element_type = int16_t
using simdpp::int16< 16, void >::expr_type = void

Constructor & Destructor Documentation

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

Construct from the underlying vector type

Member Function Documentation

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

Convert to the underlying vector type.

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

Construct from the underlying vector type

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

Access base vectors

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

Access base vectors

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

Member Data Documentation

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

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