def readRange(self, params): start, end = params.split(',') start = int(start) end = int(end) answer = range(start, end+1) if _np and _np_array: answer = _np_array(answer) return answer
def readRange(self, params): start, end = params.split(',') start = int(start) end = int(end) answer = range(start, end + 1) if _np and _np_array: answer = _np_array(answer) return answer
def build_rand_nparray(size): x = [] for i in range(size): x.append(_random()) return _np_array(x)