Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::experi...::simd_mask(3)  C++ Standard Libary std::experi...::simd_mask(3)

NAME
       std::experimental::simd_mask - std::experimental::simd_mask

Synopsis
	  Defined in header <experimental/simd>
	  template<  class  T,	class Abi = simd_abi::compatible<T> >  (paral-
       lelism TS v2)
	  class	simd_mask;

	  The class template simd_mask is a data-parallel type with  the  ele-
       ment type bool. The
	  width	 of  a given simd_mask instantiation is	a constant expression,
       determined by the
	  template parameters. Specifically, simd_mask<T, Abi>::size() is  al-
       ways simd<T,
	  Abi>::size().

Template parameters
	  T   -	the element type simd_mask applies on
	  Abi -	the ABI	type simd_mask applies on

	  Helper alias templates

	  Template					 Definition
	  template<   class   T,  int  N  >  using		  simd_mask<T,
       simd_abi::fixed_size<N>>
	  fixed_size_simd_mask
	  template<  class  T  >   using   native_simd_mask	  simd_mask<T,
       simd_abi::native<T>>

Member types
	  Member type Definition
	  value_type  bool
	  reference   implementation-defined
	  simd_type   simd<T, Abi>
	  abi_type    Abi

Member functions
	  constructor		       constructs a simd_mask object
	  (parallelism TS v2)	       (public member function)
	  copy_from			loads simd_mask	elements from contigu-
       ous memory
	  (parallelism TS v2)	       (public member function)
	  copy_to		       stores simd_mask	elements to contiguous
       memory
	  (parallelism TS v2)	       (public member function)
	  operator[]		       accesses	specified element
	  (parallelism TS v2)	       (public member function)
	  operator!		       negates each element
	  (parallelism TS v2)	       (public member function)
	  size			       returns the width / number of elements
	  [static] (parallelism	TS v2) (public static member function)

Non-member functions
	  operator&&	      element-wise logic operators
	  operator||	      (function)
	  (parallelism TS v2)
	  operator&
	  operator|	      element-wise bitwise operators
	  operator^	      (function)
	  (parallelism TS v2)
	  operator&=
	  operator|=	      element-wise compound operators
	  operator^=	      (function)
	  (parallelism TS v2)
	  operator==	      element-wise relation operators
	  operator!=	      (function)
	  (parallelism TS v2)

Example
	   This	section	is incomplete
	   Reason: no example

See also
	  simd		      data-parallel vector type
	  (parallelism TS v2) (class template)
			      proxy to a subset	of a valarray after applying a
       boolean mask
	  mask_array	      operator[]
			      (class template)

Category:
	    * Todo no example

http://cppreference.com		  2024.06.10	  std::experi...::simd_mask(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::experimental::simd_mask&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help