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

  @staticmethod   
Exemplo n.º 6
0
  def _range_III(first,last,step): return array.arange(first,last,step)

  @staticmethod   
Exemplo n.º 7
0
  def range(*args): return array.arange(*args)

  @staticmethod   
Exemplo n.º 8
0
  def _range_III(first,last,step): return array.arange(first,last,step)

  @staticmethod   
Exemplo n.º 9
0
 def _range_I (last): return array.arange(last)
 @staticmethod   
Exemplo n.º 10
0
 def _range_LL(first,last): return array.arange(first,last)
 @staticmethod