RectGrid.append
- RectGrid.append(*grids)[source]
Insert
gridsat the end as a block.Parameters
- grid1, …, gridN
RectGrid The grids to be appended to
self.
Returns
- newgrid
RectGrid The enlarged grid.
Examples
>>> g1 = RectGrid([0, 1], [-1, 0, 2]) >>> g2 = RectGrid([1], [-6, 15]) >>> g1.append(g2) RectGrid( [ 0., 1.], [-1., 0., 2.], [ 1.], [ -6., 15.] ) >>> g1.append(g2, g2) RectGrid( [ 0., 1.], [-1., 0., 2.], [ 1.], [ -6., 15.], [ 1.], [ -6., 15.] )
See Also
insert
- grid1, …, gridN