LIBINT  2.1.0-stable
Public Member Functions | Public Attributes | List of all members
libint2::simd::Vector< N, T > Struct Template Reference

Vector<N,T> is used by vectorized Libint library as fixed-length vectors amenable for SIMD-style parallelism Vectorization via this class should be the last-resort measure if no specialized implementation is available. More...

#include <vector.h>

Collaboration diagram for libint2::simd::Vector< N, T >:
Collaboration graph
[legend]

Public Member Functions

 Vector ()
 creates a vector of default-initialized values.
 
 Vector (T a)
 Initializes all elements to the same value. More...
 
 Vector (T(&a)[N])
 creates a vector of values initialized by an ordinary static-sized array
 
Vectoroperator= (T a)
 
Vectoroperator+= (Vector a)
 
Vectoroperator-= (Vector a)
 
 operator double () const
 

Public Attributes

d [N]
 

Detailed Description

template<size_t N, typename T>
struct libint2::simd::Vector< N, T >

Vector<N,T> is used by vectorized Libint library as fixed-length vectors amenable for SIMD-style parallelism Vectorization via this class should be the last-resort measure if no specialized implementation is available.

Constructor & Destructor Documentation

template<size_t N, typename T>
libint2::simd::Vector< N, T >::Vector ( a)
inline

Initializes all elements to the same value.

Parameters
athe value to which all elements will be set

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