public member function
<valarray>

std::gslice::size

valarray<size_t> size() const;
Return sizes of gslice
Returns a valarray with the number of elements in each dimension of the gslice object.

Parameters

none

Return value

valarray object with the number of elements in each dimension.
size_t is an unsigned integral type.

See also