IntervalProd.append¶
- IntervalProd.append(*intvs)[source]¶
Insert
intvs
at the end as a block.- Parameters:
- intv1, ..., intvN
IntervalProd
Interval products to be appended to
self
.
- intv1, ..., intvN
- Returns:
- newintvp
IntervalProd
The enlarged interval product.
- newintvp
See also
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. ])