| 507 | } |
| 508 | |
| 509 | bool shape::packed() const |
| 510 | { |
| 511 | if(this->dynamic()) |
| 512 | { |
| 513 | return false; |
| 514 | } |
| 515 | return this->sub_shapes().empty() and not impl->skips() and |
| 516 | this->elements() == this->element_space(); |
| 517 | } |
| 518 | |
| 519 | bool shape::transposed() const |
| 520 | { |