namespace
arrayContains classes to operate with multidimensional arrays.
Classes
- class Array
-
template<typename Value>class ArrayT
- class ArrayDataStore
- class ArrayLayout
- class ArrayAlignment
- class ArrayShape
- class ArraySpec
- class ArrayStrides
-
template<typename Value, int Rank>class LocalView
- Multi-dimensional access existing POD array pointer.
- class Range
-
template<typename T>class SVector
-
template<typename T>class Vector
-
template<typename T>class VectorView
-
template<typename Value, int Rank>class ArrayView
-
template<typename Value, int Rank>class IndexView
- class DataType
Typedefs
-
using ArrayIdx = std::
vector<idx_ t> -
template<typename Value, int Rank>using View = LocalView<Value, Rank>
Functions
-
template<typename... idx_t>auto make_idx(idx_t... indices) -> ArrayIdx
-
template<typename... idx_t>auto make_layout(idx_t... indices) -> ArrayLayout
-
auto make_shape(std::
initializer_list<idx_ t> sizes) -> ArrayShape -
template<typename... idx_t>auto make_shape(idx_t... indices) -> ArrayShape
-
auto make_strides(std::
initializer_list<idx_ t> sizes) -> ArrayStrides -
template<typename... idx_t>auto make_strides(idx_t... indices) -> ArrayStrides
-
auto make_indexview<idx_t, 1>(Array&) -> template IndexView<idx_
t, 1> -
auto make_indexview<idx_t, 2>(Array&) -> template IndexView<idx_
t, 2> -
auto make_indexview<const idx_t, 1>(Array&) -> template IndexView<const idx_
t, 1> -
auto make_indexview<const idx_t, 2>(Array&) -> template IndexView<const idx_
t, 2> -
auto make_indexview<idx_t, 1>(const Array&) -> template IndexView<const idx_
t, 1> -
auto make_indexview<idx_t, 2>(const Array&) -> template IndexView<const idx_
t, 2> -
template<typename T>auto make_host_vector_view(Vector<T> vector_) -> VectorView<T>
-
template<typename T>auto make_device_vector_view(Vector<T> vector_) -> VectorView<T>
-
template<typename Value, int Rank>auto make_view(Array& array) -> ArrayView<Value, Rank>
-
template<typename Value, int Rank>auto make_view(const Array& array) -> ArrayView<const Value, Rank>
-
template<class Value, int Rank, ENABLE_IF_NOT_CONST>auto make_view(Value data[], const ArrayShape& shape) -> LocalView<Value, Rank>
-
template<class Value, int Rank, ENABLE_IF_NOT_CONST>auto make_view(const Value data[], const ArrayShape& shape) -> LocalView<const Value, Rank>
-
template<class Value, int Rank, ENABLE_IF_CONST>auto make_view(typename std::
remove_const<Value>::type data[], const ArrayShape& shape) -> LocalView<Value, Rank> -
template<typename Value, unsigned int Rank, ENABLE_IF_NOT_CONST>auto make_view(Value data[], size_t size) -> LocalView<Value, Rank>
-
template<typename Value, unsigned int Rank, ENABLE_IF_NOT_CONST>auto make_view(const Value data[], size_t size) -> LocalView<const Value, Rank>
-
template<typename Value, unsigned int Rank, ENABLE_IF_CONST>auto make_view(typename std::
remove_const<Value>::type data[], size_t size) -> LocalView<Value, Rank> -
template<typename Value, int Rank>auto make_host_view(Array& array) -> ArrayView<Value, Rank>
-
template<typename Value, int Rank>auto make_host_view(const Array& array) -> ArrayView<const Value, Rank>
-
template<typename Value, int Rank>auto make_device_view(Array& array) -> ArrayView<Value, Rank>
-
template<typename Value, int Rank>auto make_device_view(const Array& array) -> ArrayView<const Value, Rank>
-
template<typename Value, int Rank>auto make_indexview(Array& array) -> IndexView<Value, Rank>
-
template<typename Value, int Rank>auto make_indexview(const Array& array) -> IndexView<const Value, Rank>
-
template<typename Value, int Rank>auto make_host_indexview(Array& array) -> IndexView<Value, Rank>
-
template<typename Value, int Rank>auto make_host_indexview(const Array& array) -> IndexView<const Value, Rank>
- void interprete(const Array&, atlas::io::ArrayReference&)
- void decode(const atlas::io::Metadata&, const atlas::io::Data&, Array&)
-
template<>auto DataType::str<std::byte>() -> std::
string -
template<>auto DataType::str<const std::byte>() -> std::
string -
template<>auto DataType::kind<std::byte>() -> DataType::kind_t constexpr
-
template<>auto DataType::kind<const std::byte>() -> DataType::kind_t constexpr
- auto operator==(DataType dt1, DataType dt2) -> bool
- auto operator!=(DataType dt1, DataType dt2) -> bool
- auto operator==(DataType dt, DataType::kind_t kind) -> bool
- auto operator!=(DataType dt, DataType::kind_t kind) -> bool
- auto operator==(DataType::kind_t kind, DataType dt) -> bool
- auto operator!=(DataType::kind_t kind, DataType dt) -> bool
-
template<typename DATATYPE>auto make_datatype() -> DataType
Typedef documentation
typedef std:: vector<idx_ t> atlas:: array:: ArrayIdx
#include <atlas/array/ArrayIdx.h>
#include <atlas/array/LocalView.h>
template<typename Value, int Rank>
using atlas:: array:: View = LocalView<Value, Rank>
Function documentation
#include <atlas/array/ArrayIdx.h>
template<typename... idx_t>
ArrayIdx atlas:: array:: make_idx(idx_t... indices)
#include <atlas/array/ArrayLayout.h>
template<typename... idx_t>
ArrayLayout atlas:: array:: make_layout(idx_t... indices)
ArrayShape atlas:: array:: make_shape(std:: initializer_list<idx_ t> sizes)
#include <atlas/array/ArrayShape.h>
#include <atlas/array/ArrayShape.h>
template<typename... idx_t>
ArrayShape atlas:: array:: make_shape(idx_t... indices)
ArrayStrides atlas:: array:: make_strides(std:: initializer_list<idx_ t> sizes)
#include <atlas/array/ArrayStrides.h>
#include <atlas/array/ArrayStrides.h>
template<typename... idx_t>
ArrayStrides atlas:: array:: make_strides(idx_t... indices)
template IndexView<idx_ t, 1> atlas:: array:: make_indexview<idx_t, 1>(Array&)
#include <atlas/array/MakeView.h>
template IndexView<idx_ t, 2> atlas:: array:: make_indexview<idx_t, 2>(Array&)
#include <atlas/array/MakeView.h>
template IndexView<const idx_ t, 1> atlas:: array:: make_indexview<const idx_t, 1>(Array&)
#include <atlas/array/MakeView.h>
template IndexView<const idx_ t, 2> atlas:: array:: make_indexview<const idx_t, 2>(Array&)
#include <atlas/array/MakeView.h>
template IndexView<const idx_ t, 1> atlas:: array:: make_indexview<idx_t, 1>(const Array&)
#include <atlas/array/MakeView.h>
template IndexView<const idx_ t, 2> atlas:: array:: make_indexview<idx_t, 2>(const Array&)
#include <atlas/array/MakeView.h>
#include <atlas/array/Vector.h>
template<typename T>
VectorView<T> atlas:: array:: make_host_vector_view(Vector<T> vector_)
#include <atlas/array/Vector.h>
template<typename T>
VectorView<T> atlas:: array:: make_device_vector_view(Vector<T> vector_)
#include <atlas/array_fwd.h>
template<typename Value, int Rank>
ArrayView<Value, Rank> atlas:: array:: make_view(Array& array)
#include <atlas/array_fwd.h>
template<typename Value, int Rank>
ArrayView<const Value, Rank> atlas:: array:: make_view(const Array& array)
#include <atlas/array_fwd.h>
template<class Value, int Rank, ENABLE_IF_NOT_CONST>
LocalView<Value, Rank> atlas:: array:: make_view(Value data[],
const ArrayShape& shape)
#include <atlas/array_fwd.h>
template<class Value, int Rank, ENABLE_IF_NOT_CONST>
LocalView<const Value, Rank> atlas:: array:: make_view(const Value data[],
const ArrayShape& shape)
#include <atlas/array_fwd.h>
template<class Value, int Rank, ENABLE_IF_CONST>
LocalView<Value, Rank> atlas:: array:: make_view(typename std:: remove_const<Value>::type data[],
const ArrayShape& shape)
#include <atlas/array_fwd.h>
template<typename Value, unsigned int Rank, ENABLE_IF_NOT_CONST>
LocalView<Value, Rank> atlas:: array:: make_view(Value data[],
size_t size)
#include <atlas/array_fwd.h>
template<typename Value, unsigned int Rank, ENABLE_IF_NOT_CONST>
LocalView<const Value, Rank> atlas:: array:: make_view(const Value data[],
size_t size)
#include <atlas/array_fwd.h>
template<typename Value, unsigned int Rank, ENABLE_IF_CONST>
LocalView<Value, Rank> atlas:: array:: make_view(typename std:: remove_const<Value>::type data[],
size_t size)
#include <atlas/array_fwd.h>
template<typename Value, int Rank>
ArrayView<Value, Rank> atlas:: array:: make_host_view(Array& array)
#include <atlas/array_fwd.h>
template<typename Value, int Rank>
ArrayView<const Value, Rank> atlas:: array:: make_host_view(const Array& array)
#include <atlas/array_fwd.h>
template<typename Value, int Rank>
ArrayView<Value, Rank> atlas:: array:: make_device_view(Array& array)
#include <atlas/array_fwd.h>
template<typename Value, int Rank>
ArrayView<const Value, Rank> atlas:: array:: make_device_view(const Array& array)
#include <atlas/array_fwd.h>
template<typename Value, int Rank>
IndexView<Value, Rank> atlas:: array:: make_indexview(Array& array)
#include <atlas/array_fwd.h>
template<typename Value, int Rank>
IndexView<const Value, Rank> atlas:: array:: make_indexview(const Array& array)
#include <atlas/array_fwd.h>
template<typename Value, int Rank>
IndexView<Value, Rank> atlas:: array:: make_host_indexview(Array& array)
#include <atlas/array_fwd.h>
template<typename Value, int Rank>
IndexView<const Value, Rank> atlas:: array:: make_host_indexview(const Array& array)
void atlas:: array:: interprete(const Array&,
atlas::io::ArrayReference&)
#include <atlas/io/ArrayAdaptor.h>
void atlas:: array:: decode(const atlas::io::Metadata&,
const atlas::io::Data&,
Array&)
#include <atlas/io/ArrayAdaptor.h>
#include <atlas/util/DataType.h>
template<>
std:: string atlas:: array:: DataType::str<std::byte>()
#include <atlas/util/DataType.h>
template<>
std:: string atlas:: array:: DataType::str<const std::byte>()
#include <atlas/util/DataType.h>
template<>
DataType::kind_t atlas:: array:: DataType::kind<std::byte>() constexpr
#include <atlas/util/DataType.h>
template<>
DataType::kind_t atlas:: array:: DataType::kind<const std::byte>() constexpr
bool atlas:: array:: operator==(DataType dt1,
DataType dt2)
#include <atlas/util/DataType.h>
bool atlas:: array:: operator!=(DataType dt1,
DataType dt2)
#include <atlas/util/DataType.h>
bool atlas:: array:: operator==(DataType dt,
DataType::kind_t kind)
#include <atlas/util/DataType.h>
bool atlas:: array:: operator!=(DataType dt,
DataType::kind_t kind)
#include <atlas/util/DataType.h>
bool atlas:: array:: operator==(DataType::kind_t kind,
DataType dt)
#include <atlas/util/DataType.h>
bool atlas:: array:: operator!=(DataType::kind_t kind,
DataType dt)
#include <atlas/util/DataType.h>
#include <atlas/util/DataType.h>
template<typename DATATYPE>
DataType atlas:: array:: make_datatype()