Vectorizable Struct Reference

Description

A Vectorizable type is usable as the template parameter of other components like boost::simd::pack to produce a Vectorized type.

Requirements

A type T satisfies Vectorizable if it refines Logical or if:

  • sizeof(T) <= sizeof(double) and
  • std::is_arithmetic<T>::value evaluates to true and
  • std::is_same<T, bool>::value evaluates to false.
Example
  • float
  • double
  • int
  • char
  • std::uint16_t
  • boost::simd::logical<short>