Function Jet::Utilities::ShapeToSize

Function Documentation

inline size_t Jet::Utilities::ShapeToSize(const std::vector<size_t> &shape)

Returns the size of a shape.

Parameters

shape – Index dimensions.

Returns

Product of the index dimensions in the shape.