struct shape<0> types¶
template <>
struct shape<0> { … } variable static_size ¶
static constexpr size_t static_size = 0 Defined at base/shape.hpp:386
function size() ¶
static constexpr size_t size() { … } Defined at base/shape.hpp:388
function dims() ¶
static constexpr size_t dims() { … } Defined at base/shape.hpp:390
constructor shape() ¶
constexpr shape() = default Defined at base/shape.hpp:392
constructor shape(index_t) ¶
constexpr shape(index_t value) { … } Defined at base/shape.hpp:393
function has_infinity() ¶
constexpr bool has_infinity() const { … } Defined at base/shape.hpp:395
function to_flat(const shape<0> &) ¶
Defined at base/shape.hpp:397
function from_flat(size_t) ¶
Defined at base/shape.hpp:398
function adapt(const shape<odims> &, cbool_t<stop>) ¶
template <index_t odims, bool stop = false>
KFR_MEM_INTRINSIC shape<0> adapt(const shape<odims>& other, cbool_t<stop> = { … } Defined at base/shape.hpp:401
function trailing_zeros() ¶
index_t trailing_zeros() const Defined at base/shape.hpp:406
function dot(const shape<0> &) ¶
Defined at base/shape.hpp:408
function product() ¶
Defined at base/shape.hpp:410
function tomask() ¶
Defined at base/shape.hpp:412
function extend(index_t) ¶
template <index_t new_dims>
constexpr KFR_MEM_INTRINSIC shape<new_dims> extend(index_t value = infinite_size) const { … } Defined at base/shape.hpp:415
function trim() ¶
Defined at base/shape.hpp:424
function operator==(const shape<0> &) ¶
Defined at base/shape.hpp:430
function operator!=(const shape<0> &) ¶
Defined at base/shape.hpp:431
function revindex(size_t) ¶
Defined at base/shape.hpp:433
function set_revindex(size_t, index_t) ¶
Defined at base/shape.hpp:434
Defined at base/shape.hpp:384