Beispiel #1
0
 def _repeatrange_LLL(first,last,num):
   res = array.zeros((last-first)*num,array.int64)
   ra = array.arange(first,last)
   l = last-first
   for i in range(num):
     res[i*l:(i+1)*l] = ra
   return res
Beispiel #2
0
 def _repeatrange_LLL(first,last,num):
   res = array.zeros((last-first)*num,array.int64)
   ra = array.arange(first,last)
   l = last-first
   for i in range(num):
     res[i*l:(i+1)*l] = ra
   return res
Beispiel #3
0
 def _range_LL(first,last): return array.arange(first,last)
 @staticmethod   
Beispiel #4
0
 def _range_L (last): return array.arange(last)
 @staticmethod   
Beispiel #5
0
  def range(*args): return array.arange(*args)

  @staticmethod   
Beispiel #6
0
  def _range_III(first,last,step): return array.arange(first,last,step)

  @staticmethod   
Beispiel #7
0
  def range(*args): return array.arange(*args)

  @staticmethod   
Beispiel #8
0
  def _range_III(first,last,step): return array.arange(first,last,step)

  @staticmethod   
Beispiel #9
0
 def _range_I (last): return array.arange(last)
 @staticmethod   
Beispiel #10
0
 def _range_LL(first,last): return array.arange(first,last)
 @staticmethod