cf.AuxiliaryCoordinate.floor¶

AuxiliaryCoordinate.
floor
(*args, **kwargs)[source]¶ Floor the data array, elementwise.
The floor of
x
is the largest integern
, such thatn <= x
.New in version 1.0.
 Parameters
 Returns
The construct with floored data. If the operation was inplace then
None
is returned.
Examples:
>>> print(f.array) [1.9 1.5 1.1 1. 0. 1. 1.1 1.5 1.9] >>> print(f.floor().array) [2. 2. 2. 1. 0. 1. 1. 1. 1.] >>> f.floor(inplace=True) >>> print(f.array) [2. 2. 2. 1. 0. 1. 1. 1. 1.]