Home
last modified time | relevance | path

Searched refs:inarray (Results 1 – 2 of 2) sorted by relevance

/external/toolchain-utils/cros_utils/
Dstats.py2029 def ageometricmean(inarray, dimension=None, keepdims=0): argument
2042 inarray = N.array(inarray, N.float_)
2044 inarray = N.ravel(inarray)
2045 size = len(inarray)
2046 mult = N.power(inarray, 1.0 / size)
2049 size = inarray.shape[dimension]
2050 mult = N.power(inarray, 1.0 / size)
2053 shp = list(inarray.shape)
2060 size = N.array(N.multiply.reduce(N.take(inarray.shape, dims)), N.float_)
2061 mult = N.power(inarray, 1.0 / size)
[all …]
Dpstat.py795 def acollmean(inarray): argument
796 return N.sum(N.ravel(inarray))
1011 def aunique(inarray): argument
1018 uniques = N.array([inarray[0]])
1020 for item in inarray[1:]:
1027 if inarray.dtype.char != 'O': # not an Object array
1028 for item in inarray[1:]:
1037 for item in inarray[1:]:
1051 def aduplicates(inarray): argument
1058 inarray = N.array(inarray)
[all …]