check consistency between shape and representation
check shape and representation
Definition at line 402 of file series.h.
References AFF_assert.
Referenced by aff::ConstSeries< T >::ConstSeries().
405 "ERROR (ConstSeries): invalid shape");
408 "ERROR (ConstSeries): shape and representation are inconsistent");
const Tsize & size() const
#define AFF_assert(C, M)
Check an assertion and report by throwing an exception.
Trepresentation Mrepresentation
my memory representation
const Tsubscript & first() const
return first legal index
Tsubscript offset(const Tsubscript &i) const
return offset in representation for indes i
ptrdiff_t Tsubscript
Type to hold an array's subscript value.
const Tsubscript & last() const
return last legal index