|
STORMM Source Documentation
|
A template-compatible class for implementing vectorized two-tuples in C++ code, based on a single scalar type. More...
#include <stormm_vector_types.h>
Public Member Functions | |
| Vec2 (T x_in, T y_in) | |
| Constructors will accept two scalars or one of the defined vector tuples. | |
| template<typename Tinput> | |
| Vec2 (const Tinput v_in) | |
Public Attributes | |
| T | x |
| The first member, equivalent to the x member of a float2 or longlong2 tuple. | |
| T | y |
| The second member, equivalent to the y member of a float2 or longlong2 tuple. | |
A template-compatible class for implementing vectorized two-tuples in C++ code, based on a single scalar type.