def ndarray_mean_empty_float(size): a = Array(size, 'float64') return a.mean()
def ndarray_mean_empty_int(size): a = Array(size, 'int32') return a.mean()
def ndarray_mean(size, v): a = Array(size, 'double') a.fill(v) return a.mean()