JDFTx  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
array< T, N > Struct Template Reference

#include <scalar.h>

Public Member Functions

 array (const std::vector< T > &vec)
 
__hostanddev__ array (T t=0)
 
__hostanddev__ T & operator[] (int i)
 
__hostanddev__ const T & operator[] (int i) const
 

Public Attributes

arr [N]
 

Detailed Description

template<typename T, int N>
struct array< T, N >

Struct to wrap a fixed size array for passing to templated functions (Pretty much std::array, but that is not yet supported in CUDA)


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