Gromacs  2016.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Friends
gmx::SimdSetZeroProxyInternal Class Reference

#include <gromacs/simd/simd.h>

Description

Proxy object to enable setZero() for SIMD and real types.

This object is returned by setZero(), and depending on what type you assign the result to the conversion method will call the right low-level function.

Public Member Functions

 operator float () const
 Conversion method that returns 0.0 as float.
 
 operator double () const
 Conversion method that returns 0.0 as double.
 
 operator std::int32_t () const
 Conversion method that returns 0.0 as int32.
 
 operator SimdFloat () const
 Conversion method that will execute setZero() for SimdFloat.
 
 operator SimdFInt32 () const
 Conversion method that will execute setZero() for SimdFInt32.
 
 operator Simd4Float () const
 Conversion method that will execute setZero() for Simd4Float.
 
 operator SimdDouble () const
 Conversion method that will execute setZero() for SimdDouble.
 
 operator SimdDInt32 () const
 Conversion method that will execute setZero() for SimdDInt32.
 
 operator Simd4Double () const
 Conversion method that will execute setZero() for Simd4Double.
 

Friends

const SimdSetZeroProxyInternal
gmx_simdcall 
setZero ()
 Proxy object to set any SIMD or scalar variable to zero. More...
 

Friends And Related Function Documentation

const SimdSetZeroProxyInternal gmx_simdcall setZero ( )
friend

Proxy object to set any SIMD or scalar variable to zero.

Returns
Proxy object that will call the actual function to set a SIMD/scalar variable to zero based on the conversion function called when you assign the result.

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