atlas::array::ArraySpec class

Constructors, destructors, conversion operators

ArraySpec()
ArraySpec(const ArrayShape&)
ArraySpec(const ArrayShape&, const ArrayStrides&)
ArraySpec(const ArrayShape&, const ArrayStrides&, const ArrayLayout&)
ArraySpec(const ArrayShape&, const ArrayAlignment&)
ArraySpec(const ArrayShape&, const ArrayStrides&, const ArrayAlignment&)
ArraySpec(const ArrayShape&, const ArrayStrides&, const ArrayLayout&, const ArrayAlignment&)
ArraySpec(DataType, const ArrayShape&)
ArraySpec(DataType, const ArrayShape&, const ArrayStrides&)
ArraySpec(DataType, const ArrayShape&, const ArrayStrides&, const ArrayLayout&)
ArraySpec(DataType, const ArrayShape&, const ArrayAlignment&)
ArraySpec(DataType, const ArrayShape&, const ArrayStrides&, const ArrayAlignment&)
ArraySpec(DataType, const ArrayShape&, const ArrayStrides&, const ArrayLayout&, const ArrayAlignment&)

Public functions

auto allocatedSize() const -> size_t
auto size() const -> size_t
auto rank() const -> idx_t
auto datatype() const -> DataType
auto shape() const -> const ArrayShape&
auto alignment() const -> const ArrayAlignment&
auto strides() const -> const ArrayStrides&
auto layout() const -> const ArrayLayout&
auto shapef() const -> const std::vector<int>&
auto stridesf() const -> const std::vector<int>&
auto contiguous() const -> bool
auto hasDefaultLayout() const -> bool