IntervalProd.append

IntervalProd.append(self, \*intvs)[source]

Insert intvs at the end as a block.

Parameters
intv1, …, intvNIntervalProd

Interval products to be appended to self.

Returns
newintvpIntervalProd

The enlarged interval product.

See also

insert

Examples

>>> intv = IntervalProd([-1, 2], [-0.5, 3])
>>> intv2 = IntervalProd(0, 1)
>>> intv.append(intv2)
IntervalProd([-1.,  2.,  0.], [-0.5,  3. ,  1. ])
>>> intv.append(intv2, intv2)
IntervalProd([-1.,  2.,  0.,  0.], [-0.5,  3. ,  1. ,  1. ])