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

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

x
 The first member, equivalent to the x member of a float2 or longlong2 tuple.
 
y
 The second member, equivalent to the y member of a float2 or longlong2 tuple.
 

Detailed Description

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

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


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