RectPartition.append
- RectPartition.append(*parts)[source]
Insert
partsat the end as a block.Parameters
- part1, …, partN
RectPartition Partitions to be appended to
self.
Returns
- newpart
RectPartition The enlarged partition.
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))
See Also
insert
- part1, …, partN