Class TempLat::TempLatArray
template <typename T, int N, int shift>
ClassList > TempLat > TempLatArray
A class which makes array compatible which getComp algebra. More...
#include <templatarray.h>
Public Types
| Type | Name |
|---|---|
| typedef GetComponent | Getter |
Public Static Attributes
| Type | Name |
|---|---|
| constexpr size_t | size = N |
Public Functions
| Type | Name |
|---|---|
| TempLatArray () = default |
|
| TempLatArray (const std::array< T, N > & vec) |
|
| TempLatArray (std::array< T, N > && vec) |
|
| std::array< T, N > & | asArr () |
| T | getComp (Tag< M > t) noexcept const |
| T | operator() (device::Idx i) const |
| T & | operator() (device::Idx i) |
| void | operator= (const std::vector< T > & vec) |
| void | operator= (S && vec) |
| T | operator[] (device::Idx i) const |
| T & | operator[] (device::Idx i) |
Detailed Description
Unit test: ctest -R test-templatarray
Public Types Documentation
typedef Getter
Public Static Attributes Documentation
variable size
Public Functions Documentation
function TempLatArray [1/3]
function TempLatArray [2/3]
function TempLatArray [3/3]
function asArr
function getComp
function operator()
function operator()
function operator=
function operator=
function operator[]
function operator[]
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/util/templatarray.h