TRIQS/nda 1.3.0
Multi-dimensional array library for C++
|
Various typedefs/aliases of the most useful array and view types.
Typedefs | |
template<typename ValueType , int Rank, typename Layout = C_layout, typename ContainerPolicy = heap<>> | |
using | nda::array = basic_array<ValueType, Rank, Layout, 'A', ContainerPolicy> |
Alias template of an nda::basic_array with an 'A' algebra. | |
template<typename ValueType , int Rank, typename Layout = C_stride_layout> | |
using | nda::array_const_view = basic_array_view<ValueType const, Rank, Layout, 'A', default_accessor, borrowed<>> |
Same as nda::array_view except for const value types. | |
template<typename ValueType , int Rank, typename Layout = C_layout> | |
using | nda::array_contiguous_const_view = basic_array_view<ValueType const, Rank, Layout, 'A', default_accessor, borrowed<>> |
Same as nda::array_const_view except for contiguous memory layouts. | |
template<typename ValueType , int Rank, typename Layout = C_layout> | |
using | nda::array_contiguous_view = basic_array_view<ValueType, Rank, Layout, 'A', default_accessor, borrowed<>> |
Same as nda::array_view except for contiguous memory layouts. | |
template<typename ValueType , int Rank, typename Layout = C_stride_layout> | |
using | nda::array_view = basic_array_view<ValueType, Rank, Layout, 'A', default_accessor, borrowed<>> |
Alias template of an nda::basic_array_view with an 'A' algebra, nda::default_accessor and nda::borrowed owning policy. | |
template<typename ValueType , int Rank, typename Layout = C_layout> | |
using | nda::cuarray = basic_array<ValueType, Rank, Layout, 'A', heap<mem::Device>> |
Similar to nda::array except the memory is stored on the device. | |
template<typename ValueType , int Rank, typename Layout = C_stride_layout> | |
using | nda::cuarray_const_view = basic_array_view<ValueType const, Rank, Layout, 'A', default_accessor, borrowed<mem::Device>> |
Similar to nda::array_const_view except the memory is stored on the device. | |
template<typename ValueType , int Rank, typename Layout = C_stride_layout> | |
using | nda::cuarray_view = basic_array_view<ValueType, Rank, Layout, 'A', default_accessor, borrowed<mem::Device>> |
Similar to nda::array_view except the memory is stored on the device. | |
template<typename ValueType , typename Layout = C_layout, typename ContainerPolicy = heap<mem::Device>> | |
using | nda::cumatrix = basic_array<ValueType, 2, Layout, 'M', ContainerPolicy> |
Similar to nda::matrix except the memory is stored on the device. | |
template<typename ValueType , typename Layout = C_stride_layout> | |
using | nda::cumatrix_const_view = basic_array_view<ValueType const, 2, Layout, 'M', default_accessor, borrowed<mem::Device>> |
Similar to nda::matrix_const_view except the memory is stored on the device. | |
template<typename ValueType , typename Layout = C_stride_layout> | |
using | nda::cumatrix_view = basic_array_view<ValueType, 2, Layout, 'M', default_accessor, borrowed<mem::Device>> |
Similar to nda::matrix_view except the memory is stored on the device. | |
template<typename ValueType > | |
using | nda::cuvector = basic_array<ValueType, 1, C_layout, 'V', heap<mem::Device>> |
Similar to nda::vector except the memory is stored on the device. | |
template<typename ValueType , typename Layout = C_stride_layout> | |
using | nda::cuvector_const_view = basic_array_view<ValueType const, 1, Layout, 'V', default_accessor, borrowed<mem::Device>> |
Similar to nda::vector_const_view except the memory is stored on the device. | |
template<typename ValueType , typename Layout = C_stride_layout> | |
using | nda::cuvector_view = basic_array_view<ValueType, 1, Layout, 'V', default_accessor, borrowed<mem::Device>> |
Similar to nda::vector_view except the memory is stored on the device. | |
template<typename ValueType , typename Layout = C_layout, typename ContainerPolicy = heap<>> | |
using | nda::matrix = basic_array<ValueType, 2, Layout, 'M', ContainerPolicy> |
Alias template of an nda::basic_array with rank 2 and an 'M' algebra. | |
template<typename ValueType , typename Layout = C_stride_layout> | |
using | nda::matrix_const_view = basic_array_view<ValueType const, 2, Layout, 'M', default_accessor, borrowed<>> |
Same as nda::matrix_view except for const value types. | |
template<typename ValueType , typename Layout = C_stride_layout> | |
using | nda::matrix_view = basic_array_view<ValueType, 2, Layout, 'M', default_accessor, borrowed<>> |
Alias template of an nda::basic_array_view with rank 2, an 'M' algebra, nda::default_accessor and nda::borrowed owning policy. | |
template<typename ValueType , int N0, int... Ns> | |
using | nda::stack_array |
Alias template of an nda::basic_array with static extents, contiguous C layout, 'A' algebra and nda::stack container policy. | |
template<typename ValueType , int N, int M> | |
using | nda::stack_matrix |
Alias template of an nda::basic_array with rank 2, static extents, contiguous C layout, 'M' algebra and nda::stack memory policy. | |
template<typename ValueType , int N> | |
using | nda::stack_vector |
Alias template of an nda::basic_array with rank 1, static extents, contiguous C layout, 'V' algebra and nda::stack memory policy. | |
template<typename ValueType , typename ContainerPolicy = heap<>> | |
using | nda::vector = basic_array<ValueType, 1, C_layout, 'V', ContainerPolicy> |
Alias template of an nda::basic_array with rank 1 and a 'V' algebra. | |
template<typename ValueType , typename Layout = C_stride_layout> | |
using | nda::vector_const_view = basic_array_view<ValueType const, 1, Layout, 'V', default_accessor, borrowed<>> |
Same as nda::vector_view except for const value types. | |
template<typename ValueType , typename Layout = C_stride_layout> | |
using | nda::vector_view = basic_array_view<ValueType, 1, Layout, 'V', default_accessor, borrowed<>> |
Alias template of an nda::basic_array_view with rank 1, a 'V' algebra, nda::default_accessor and nda::borrowed owning policy. | |
using nda::array = basic_array<ValueType, Rank, Layout, 'A', ContainerPolicy> |
#include <nda/declarations.hpp>
Alias template of an nda::basic_array with an 'A' algebra.
ValueType | Value type of the array. |
Rank | Rank of the array. |
Layout | Layout policy of the array. |
ContainerPolicy | Memory policy of the array. |
Definition at line 75 of file declarations.hpp.
using nda::array_const_view = basic_array_view<ValueType const, Rank, Layout, 'A', default_accessor, borrowed<>> |
#include <nda/declarations.hpp>
Same as nda::array_view except for const value types.
ValueType | Value type of the view. |
Rank | Rank of the view. |
Layout | Layout policy of the view. |
Definition at line 96 of file declarations.hpp.
using nda::array_contiguous_const_view = basic_array_view<ValueType const, Rank, Layout, 'A', default_accessor, borrowed<>> |
#include <nda/declarations.hpp>
Same as nda::array_const_view except for contiguous memory layouts.
ValueType | Value type of the view. |
Rank | Rank of the view. |
Layout | Layout policy of the view. |
Definition at line 118 of file declarations.hpp.
using nda::array_contiguous_view = basic_array_view<ValueType, Rank, Layout, 'A', default_accessor, borrowed<>> |
#include <nda/declarations.hpp>
Same as nda::array_view except for contiguous memory layouts.
ValueType | Value type of the view. |
Rank | Rank of the view. |
Layout | Layout policy of the view. |
Definition at line 107 of file declarations.hpp.
using nda::array_view = basic_array_view<ValueType, Rank, Layout, 'A', default_accessor, borrowed<>> |
#include <nda/declarations.hpp>
Alias template of an nda::basic_array_view with an 'A' algebra, nda::default_accessor and nda::borrowed owning policy.
ValueType | Value type of the view. |
Rank | Rank of the view. |
Layout | Layout policy of the view. |
Definition at line 86 of file declarations.hpp.
using nda::cuarray = basic_array<ValueType, Rank, Layout, 'A', heap<mem::Device>> |
#include <nda/declarations.hpp>
Similar to nda::array except the memory is stored on the device.
ValueType | Value type of the array. |
Rank | Rank of the array. |
Layout | Layout policy of the array. |
Definition at line 239 of file declarations.hpp.
using nda::cuarray_const_view = basic_array_view<ValueType const, Rank, Layout, 'A', default_accessor, borrowed<mem::Device>> |
#include <nda/declarations.hpp>
Similar to nda::array_const_view except the memory is stored on the device.
ValueType | Value type of the view. |
Rank | Rank of the view. |
Layout | Layout policy of the view. |
Definition at line 259 of file declarations.hpp.
using nda::cuarray_view = basic_array_view<ValueType, Rank, Layout, 'A', default_accessor, borrowed<mem::Device>> |
#include <nda/declarations.hpp>
Similar to nda::array_view except the memory is stored on the device.
ValueType | Value type of the view. |
Rank | Rank of the view. |
Layout | Layout policy of the view. |
Definition at line 249 of file declarations.hpp.
using nda::cumatrix = basic_array<ValueType, 2, Layout, 'M', ContainerPolicy> |
#include <nda/declarations.hpp>
Similar to nda::matrix except the memory is stored on the device.
ValueType | Value type of the matrix. |
Layout | Layout policy of the matrix. |
ContainerPolicy | Memory policy of the matrix. |
Definition at line 269 of file declarations.hpp.
using nda::cumatrix_const_view = basic_array_view<ValueType const, 2, Layout, 'M', default_accessor, borrowed<mem::Device>> |
#include <nda/declarations.hpp>
Similar to nda::matrix_const_view except the memory is stored on the device.
ValueType | Value type of the view. |
Layout | Layout policy of the view. |
Definition at line 287 of file declarations.hpp.
using nda::cumatrix_view = basic_array_view<ValueType, 2, Layout, 'M', default_accessor, borrowed<mem::Device>> |
#include <nda/declarations.hpp>
Similar to nda::matrix_view except the memory is stored on the device.
ValueType | Value type of the view. |
Layout | Layout policy of the view. |
Definition at line 278 of file declarations.hpp.
using nda::cuvector = basic_array<ValueType, 1, C_layout, 'V', heap<mem::Device>> |
#include <nda/declarations.hpp>
Similar to nda::vector except the memory is stored on the device.
ValueType | Value type of the vector. |
Definition at line 295 of file declarations.hpp.
using nda::cuvector_const_view = basic_array_view<ValueType const, 1, Layout, 'V', default_accessor, borrowed<mem::Device>> |
#include <nda/declarations.hpp>
Similar to nda::vector_const_view except the memory is stored on the device.
ValueType | Value type of the view. |
Layout | Layout policy of the view. |
Definition at line 313 of file declarations.hpp.
using nda::cuvector_view = basic_array_view<ValueType, 1, Layout, 'V', default_accessor, borrowed<mem::Device>> |
#include <nda/declarations.hpp>
Similar to nda::vector_view except the memory is stored on the device.
ValueType | Value type of the view. |
Layout | Layout policy of the view. |
Definition at line 304 of file declarations.hpp.
using nda::matrix = basic_array<ValueType, 2, Layout, 'M', ContainerPolicy> |
#include <nda/declarations.hpp>
Alias template of an nda::basic_array with rank 2 and an 'M' algebra.
ValueType | Value type of the matrix. |
Layout | Layout policy of the matrix. |
ContainerPolicy | Memory policy of the matrix. |
Definition at line 128 of file declarations.hpp.
using nda::matrix_const_view = basic_array_view<ValueType const, 2, Layout, 'M', default_accessor, borrowed<>> |
#include <nda/declarations.hpp>
Same as nda::matrix_view except for const value types.
ValueType | Value type of the view. |
Layout | Layout policy of the view. |
Definition at line 147 of file declarations.hpp.
using nda::matrix_view = basic_array_view<ValueType, 2, Layout, 'M', default_accessor, borrowed<>> |
#include <nda/declarations.hpp>
Alias template of an nda::basic_array_view with rank 2, an 'M' algebra, nda::default_accessor and nda::borrowed owning policy.
ValueType | Value type of the view. |
Layout | Layout policy of the view. |
Definition at line 138 of file declarations.hpp.
using nda::stack_array |
#include <nda/declarations.hpp>
Alias template of an nda::basic_array with static extents, contiguous C layout, 'A' algebra and nda::stack container policy.
ValueType | Value type of the array. |
N0 | Size of the first dimension. |
Ns | Sizes of the other dimensions. |
Definition at line 201 of file declarations.hpp.
using nda::stack_matrix |
#include <nda/declarations.hpp>
Alias template of an nda::basic_array with rank 2, static extents, contiguous C layout, 'M' algebra and nda::stack memory policy.
ValueType | Value type of the matrix. |
N | Number of rows. |
M | Number of columns. |
Definition at line 215 of file declarations.hpp.
using nda::stack_vector |
#include <nda/declarations.hpp>
Alias template of an nda::basic_array with rank 1, static extents, contiguous C layout, 'V' algebra and nda::stack memory policy.
ValueType | Value type of the vector. |
N | Size of the vector. |
Definition at line 227 of file declarations.hpp.
using nda::vector = basic_array<ValueType, 1, C_layout, 'V', ContainerPolicy> |
#include <nda/declarations.hpp>
Alias template of an nda::basic_array with rank 1 and a 'V' algebra.
ValueType | Value type of the vector. |
ContainerPolicy | Memory policy of the vector. |
Definition at line 156 of file declarations.hpp.
using nda::vector_const_view = basic_array_view<ValueType const, 1, Layout, 'V', default_accessor, borrowed<>> |
#include <nda/declarations.hpp>
Same as nda::vector_view except for const value types.
ValueType | Value type of the view. |
Layout | Layout policy of the view. |
Definition at line 175 of file declarations.hpp.
using nda::vector_view = basic_array_view<ValueType, 1, Layout, 'V', default_accessor, borrowed<>> |
#include <nda/declarations.hpp>
Alias template of an nda::basic_array_view with rank 1, a 'V' algebra, nda::default_accessor and nda::borrowed owning policy.
ValueType | Value type of the view. |
Layout | Layout policy of the view. |
Definition at line 166 of file declarations.hpp.