Lines Matching refs:inarray
795 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)
1059 if len(inarray.shape) == 1: # IF IT'S A 1D ARRAY
1061 inarray = inarray.tolist()
1062 for i in range(len(inarray)):
1063 if inarray[i] in inarray[i + 1:]:
1064 dups.append(inarray[i])
1068 aslist = inarray.tolist()