Gromacs  2026.0-dev-20241121-c76fa1e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::SimdSetZeroProxy Class Reference

#include <gromacs/simd/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.
 

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