Floors the Array elements.
(self, inplace=False)
| 199 | return sum(self.mul(weights)) / sum(weights) |
| 200 | |
| 201 | def floor(self, inplace=False): |
| 202 | """ Floors the Array elements. """ |
| 203 | a = map(math.floor, self) |
| 204 | if inplace: |
| 205 | return self.__setinplace(a, inplace) |
| 206 | return Array(a) |
| 207 | |
| 208 | def floor_(self): |
| 209 | """ Floors the Array elements in-place. """ |
nothing calls this directly
no test coverage detected