Apply an element-wise array operation to the data array in place.
Parameters : |
out : bool, optional
|
---|---|
Returns : | None |
Examples
>>> print d.Units
<CF Units: radians>
>>> print d.array
[[ 0. 1.57079633]
[ 3.14159265 4.71238898]]
>>> import numpy
>>> d.func(numpy.cos, i=True)
>>> print d.array
[[ 1.0 0.0]
[-1.0 0.0]]