MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / num_elements

Method num_elements

include/win/boost/multi_array/subarray.hpp:164–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 const index* index_bases() const { return index_base_; }
163
164 size_type num_elements() const {
165 return std::accumulate(shape(),shape() + num_dimensions(),
166 size_type(1), std::multiplies<size_type>());
167 }
168
169
170#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS

Callers 15

multi_arrayMethod · 0.45
allocate_spaceMethod · 0.45
constraintsMethod · 0.45
constraintsMethod · 0.45
const_constraintsMethod · 0.45
for_each1Method · 0.45
for_each2Method · 0.45
for_each3Method · 0.45
for_each4Method · 0.45
for_each5Method · 0.45
for_each6Method · 0.45
for_each7Method · 0.45

Calls 3

accumulateFunction · 0.50
shapeFunction · 0.50
size_typeFunction · 0.50

Tested by

no test coverage detected