STORMM Source Documentation
Loading...
Searching...
No Matches
stormm::Vec4< T > Struct Template Reference

A template-compatible class for implementing vectorized four-tuples in C++ code, based on a single scalar type. More...

#include <stormm_vector_types.h>

Public Member Functions

 Vec4 (T x_in, T y_in, T z_in, T w_in)
 Constructors will accept four scalars or one of the defined vector tuples.
 
template<typename Tinput>
 Vec4 (const Tinput v_in)
 

Public Attributes

x
 The first member, equivalent to the x member of a float4 or int4 tuple.
 
y
 The second member, equivalent to the y member of a float4 or int4 tuple.
 
z
 The third member, equivalent to the z member of a float4 or int4 tuple.
 
w
 The fourth member, equivalent to the w member of a float4 or int4 tuple.
 

Detailed Description

template<typename T>
struct stormm::Vec4< T >

A template-compatible class for implementing vectorized four-tuples in C++ code, based on a single scalar type.


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