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

Class representing an signed int16 vector of arbitrary length. More...

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

Public Types

using element_type = int16_t
 
using base_vector_type = int16v
 
using expr_type = void
 
- Public Types inherited from simdpp::any_int16< N, int16< N, 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< N > &)=default
 
int16< N > & operator= (const int16< N > &)=default
 
template<class E >
 int16 (const int16< N, E > &d)
 
template<class E >
 int16 (const uint16< N, E > &d)
 
template<class V >
 int16 (const any_vec< N *2, V > &d)
 
template<class V >
int16< N > & operator= (const any_vec< N *2, V > &d)
 
const int16voperator[] (unsigned i) const
 
int16voperator[] (unsigned i)
 
int16< N > eval () const
 

Static Public Member Functions

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

Static Public Attributes

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

Detailed Description

template<unsigned N>
class simdpp::int16< N, void >

Class representing an signed int16 vector of arbitrary length.

The vector always contains at least one native vector.

Member Typedef Documentation

template<unsigned N>
using simdpp::int16< N, void >::base_vector_type = int16v
template<unsigned N>
using simdpp::int16< N, void >::element_type = int16_t
template<unsigned N>
using simdpp::int16< N, void >::expr_type = void

Constructor & Destructor Documentation

template<unsigned N>
simdpp::int16< N, void >::int16 ( )
default
template<unsigned N>
simdpp::int16< N, void >::int16 ( const int16< N > &  )
default
template<unsigned N>
template<class E >
simdpp::int16< N, void >::int16 ( const int16< N, E > &  d)
inline
template<unsigned N>
template<class E >
simdpp::int16< N, void >::int16 ( const uint16< N, E > &  d)
inline
template<unsigned N>
template<class V >
simdpp::int16< N, void >::int16 ( const any_vec< N *2, V > &  d)
inlineexplicit

Member Function Documentation

template<unsigned N>
int16<N> simdpp::int16< N, void >::eval ( ) const
inline
template<unsigned N>
static int16<N> simdpp::int16< N, void >::ones ( )
inlinestatic
template<unsigned N>
int16<N>& simdpp::int16< N, void >::operator= ( const int16< N > &  )
default
template<unsigned N>
template<class V >
int16<N>& simdpp::int16< N, void >::operator= ( const any_vec< N *2, V > &  d)
inline
template<unsigned N>
const int16v& simdpp::int16< N, void >::operator[] ( unsigned  i) const
inline
template<unsigned N>
int16v& simdpp::int16< N, void >::operator[] ( unsigned  i)
inline
template<unsigned N>
static int16<N> simdpp::int16< N, void >::zero ( )
inlinestatic

Member Data Documentation

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

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