1 #ifndef NPSTAT_ARRAYSHAPE_HH_ 2 #define NPSTAT_ARRAYSHAPE_HH_ 30 ArrayShape
makeShape(
unsigned i0,
unsigned i1);
31 ArrayShape
makeShape(
unsigned i0,
unsigned i1,
unsigned i2);
32 ArrayShape
makeShape(
unsigned i0,
unsigned i1,
unsigned i2,
unsigned i3);
33 ArrayShape
makeShape(
unsigned i0,
unsigned i1,
unsigned i2,
unsigned i3,
35 ArrayShape
makeShape(
unsigned i0,
unsigned i1,
unsigned i2,
unsigned i3,
36 unsigned i4,
unsigned i5);
37 ArrayShape
makeShape(
unsigned i0,
unsigned i1,
unsigned i2,
unsigned i3,
38 unsigned i4,
unsigned i5,
unsigned i6);
39 ArrayShape
makeShape(
unsigned i0,
unsigned i1,
unsigned i2,
unsigned i3,
40 unsigned i4,
unsigned i5,
unsigned i6,
unsigned i7);
41 ArrayShape
makeShape(
unsigned i0,
unsigned i1,
unsigned i2,
unsigned i3,
42 unsigned i4,
unsigned i5,
unsigned i6,
unsigned i7,
44 ArrayShape
makeShape(
unsigned i0,
unsigned i1,
unsigned i2,
unsigned i3,
45 unsigned i4,
unsigned i5,
unsigned i6,
unsigned i7,
46 unsigned i8,
unsigned i9);
47 ArrayShape
makeShape(
const unsigned* indices,
unsigned nIndices);
51 ArrayShape
doubleShape(
const ArrayShape& inputShape);
54 ArrayShape
halfShape(
const ArrayShape& inputShape);
61 bool isSubShape(
const ArrayShape& sh1,
const ArrayShape& sh2);
64 #endif // NPSTAT_ARRAYSHAPE_HH_
bool isSubShape(const ArrayShape &sh1, const ArrayShape &sh2)
std::vector< unsigned > ArrayShape
ArrayShape doubleShape(const ArrayShape &inputShape)
ArrayShape halfShape(const ArrayShape &inputShape)