Skip to content

Function size_of_shape

function size_of_shape(const shape<dims> &) base

template <index_t dims>
constexpr KFR_INTRINSIC index_t size_of_shape(const shape<dims>& shape) { … }

Total number of elements described by a shape.

Template parameters
dims Rank of the shape.
Parameters
shape The shape to measure.
Returns
The product of all axis sizes.

Fully qualified name: kfr::size_of_shape(const shape<dims> &)

Declared at base/shape.hpp:1290

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.