RectPartition.append¶
- RectPartition.append(*parts)[source]¶
Insert
parts
at the end as a block.- Parameters:
- part1, ..., partN
RectPartition
Partitions to be appended to
self
.
- part1, ..., partN
- Returns:
- newpart
RectPartition
The enlarged partition.
- newpart
See also
Examples
>>> part1 = odl.uniform_partition(-1, 2, 3) >>> part2 = odl.uniform_partition(0, 1, 5) >>> part1.append(part2) uniform_partition([-1., 0.], [ 2., 1.], (3, 5)) >>> part1.append(part2, part2) uniform_partition([-1., 0., 0.], [ 2., 1., 1.], (3, 5, 5))