libsimdpp  1.0
simdpp::int32< 4, void > Class Template Reference

Class representing 4x 32-bit signed integer vector. More...

Inheritance diagram for simdpp::int32< 4, void >:

Public Types

using element_type = int32_t
 
using base_vector_type = int32< 4, void >
 
using expr_type = void
 
using native_type = detail::array< int32_t, 4 >
 
- Public Types inherited from simdpp::any_int32< 4, int32< 4, void > >
using uint_element_type = uint32_t
 
using int_vector_type = int32< N >
 
using uint_vector_type = uint32< N >
 
using mask_vector_type = mask_int32< N >
 

Public Member Functions

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

Static Public Member Functions

static int32< 4 > zero ()
 
static int32< 4 > ones ()
 

Static Public Attributes

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

Detailed Description

template<>
class simdpp::int32< 4, void >

Class representing 4x 32-bit signed integer vector.

Member Typedef Documentation

using simdpp::int32< 4, void >::base_vector_type = int32<4,void>
using simdpp::int32< 4, void >::element_type = int32_t
using simdpp::int32< 4, void >::expr_type = void
using simdpp::int32< 4, void >::native_type = detail::array<int32_t, 4>

Constructor & Destructor Documentation

simdpp::int32< 4, void >::int32 ( )
default
simdpp::int32< 4, void >::int32 ( const int32< 4 > &  )
default
template<class E >
simdpp::int32< 4, void >::int32 ( const int32< 4, E > &  d)
inline
template<class E >
simdpp::int32< 4, void >::int32 ( const uint32< 4, E > &  d)
inline
template<class V >
simdpp::int32< 4, void >::int32 ( const any_vec< 16, V > &  d)
inlineexplicit
simdpp::int32< 4, void >::int32 ( const native_type d)
inline

Construct from the underlying vector type

Member Function Documentation

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

Convert to the underlying vector type.

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

Construct from the underlying vector type

const int32<4>& simdpp::int32< 4, void >::operator[] ( unsigned  ) const
inline

Access base vectors

int32<4>& simdpp::int32< 4, void >::operator[] ( unsigned  )
inline

Access base vectors

static int32<4> simdpp::int32< 4, void >::zero ( )
inlinestatic

Member Data Documentation

const unsigned simdpp::int32< 4, void >::type_tag = SIMDPP_TAG_INT
static

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