DiscretizedSpaceElement.asarray

DiscretizedSpaceElement.asarray(self, out=None)[source]

Extract the data of this array as a numpy array.

Parameters
outnumpy.ndarray, optional

Array in which the result should be written in-place. Has to be contiguous and of the correct dtype.