Exemple #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
Exemple #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
Exemple #3
0
 def _range_LL(first,last): return array.arange(first,last)
 @staticmethod   
Exemple #4
0
 def _range_L (last): return array.arange(last)
 @staticmethod   
Exemple #5
0
  def range(*args): return array.arange(*args)

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

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

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

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