61 unsigned i4,
unsigned i5)
75 unsigned i4,
unsigned i5,
unsigned i6)
90 unsigned i4,
unsigned i5,
unsigned i6,
unsigned i7)
106 unsigned i4,
unsigned i5,
unsigned i6,
unsigned i7,
124 unsigned i4,
unsigned i5,
unsigned i6,
unsigned i7,
125 unsigned i8,
unsigned i9)
149 for (
unsigned i=0;
i<nIndices; ++
i)
150 s.push_back(indices[
i]);
158 const unsigned len = s.size();
159 for (
unsigned i=0;
i<len; ++
i)
167 const unsigned len = s.size();
168 for (
unsigned i=0;
i<len; ++
i)
171 "In npstat::halfShape: array span must be "
172 "even in each dimension");
180 const unsigned len = sh1.size();
181 if (len != sh2.size())
183 for (
unsigned i=0;
i<len; ++
i)
bool isSubShape(const ArrayShape &sh1, const ArrayShape &sh2)
std::vector< unsigned > ArrayShape
Exceptions for the npstat namespace.
ArrayShape doubleShape(const ArrayShape &inputShape)
Utilities for defining shapes of multidimensional arrays.
ArrayShape halfShape(const ArrayShape &inputShape)