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

Class representing a float32 vector of arbitrary length. More...

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

Public Types

using expr_type = void
 
using element_type = float
 
using base_vector_type = float32v
 
- Public Types inherited from simdpp::any_float32< N, float32< N, void > >
using element_type = float
 
using uint_element_type = uint32_t
 
using int_vector_type = int32< N >
 
using uint_vector_type = uint32< N >
 
using mask_vector_type = mask_float32< N >
 

Public Member Functions

 float32 ()=default
 
 float32 (const float32< N > &)=default
 
float32< N > & operator= (const float32< N > &)=default
 
template<class E >
 float32 (const float32< N, E > &d)
 
template<class V >
 float32 (const any_vec< N *4, V > &d)
 
template<class V >
float32< N > & operator= (const any_vec< N *4, V > &d)
 
const float32voperator[] (unsigned i) const
 
float32voperator[] (unsigned i)
 
float32< N > eval () const
 

Static Public Member Functions

static float32< N > zero ()
 Creates a float32 vector with the contents set to zero. More...
 

Static Public Attributes

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

Detailed Description

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

Class representing a float32 vector of arbitrary length.

The vector always contains at least one native vector.

Member Typedef Documentation

template<unsigned N>
using simdpp::float32< N, void >::base_vector_type = float32v
template<unsigned N>
using simdpp::float32< N, void >::element_type = float
template<unsigned N>
using simdpp::float32< N, void >::expr_type = void

Constructor & Destructor Documentation

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

Member Function Documentation

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

Creates a float32 vector with the contents set to zero.

r0 = 0.0f
...
rN = 0.0f

Member Data Documentation

template<unsigned N>
const unsigned simdpp::float32< N, void >::type_tag = SIMDPP_TAG_FLOAT
static

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