simdpp::int16<N,E>

From libsimdpp-docs
template< unsigned N, class E >
class int16 : public any_int16<N, int16<N,E> >;

Defines a integer expression type with N elements each having 16 bits.

Instances of this type do not correspond to any physical SIMD registers. Instead, the type contains all information needed to produce one or more SIMD registers with correct information, but the operations have not been executed yet. The expression can be evaluated and its result obtained by calling eval() member function.

Member types[edit]

Type Definition
expr_type E

Member functions[edit]

int16::eval

int16<N> eval() const;

Evaluates the expression and returns the result.

int16::operator int16<N>

operator int16<N>() const;

Returns eval().

{{types/any_{{{kind}}}16/inherit}}

Inherited from simdpp::any_vec16<N,V>

Member constants

Member constant Value
size_tag SIMDPP_TAG_SIZE16

Inherited from simdpp::any_vec<B,V>

Member types

Member type Definition
type V

Member constants

Member constant Value
length_bytes B

Member functions

wrapped
returns the wrapped type
(public member function)

simdpp::any_vec::wrapped

V& wrapped();
const V& wrapped() const;

Returns the wrapped type. Effectively the same as static_cast<V&>(*this) or static_cast<const V&>(*this) respectively.