Searched refs:inarray (Results 1 – 2 of 2) sorted by relevance
2029 def ageometricmean(inarray, dimension=None, keepdims=0): argument2042 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 …]
795 def acollmean(inarray): argument796 return N.sum(N.ravel(inarray))1011 def aunique(inarray): argument1018 uniques = N.array([inarray[0]])1020 for item in inarray[1:]:1027 if inarray.dtype.char != 'O': # not an Object array1028 for item in inarray[1:]:1037 for item in inarray[1:]:1051 def aduplicates(inarray): argument1058 inarray = N.array(inarray)[all …]