RectPartition.append

RectPartition.append(*parts)[source]

Insert parts at the end as a block.

Parameters:
part1, ..., partNRectPartition

Partitions to be appended to self.

Returns:
newpartRectPartition

The enlarged partition.

See also

insert

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))