MCPcopy Create free account
hub / github.com/Lauriat/funct / ceil

Method ceil

funct/Array.py:214–219  ·  view source on GitHub ↗

Ceils the Array elements.

(self, inplace=False)

Source from the content-addressed store, hash-verified

212 return self
213
214 def ceil(self, inplace=False):
215 """ Ceils the Array elements. """
216 a = map(math.ceil, self)
217 if inplace:
218 return self.__setinplace(a, inplace)
219 return Array(a)
220
221 def ceil_(self):
222 """ Ceils the Array elements in-place. """

Callers 1

arangeMethod · 0.80

Calls 2

__setinplaceMethod · 0.95
ArrayClass · 0.85

Tested by

no test coverage detected