示例#1
0
 def new_zeros_array(self, length):
     array = numpy.zeros(length, dtype=self.dtype)
     return new_quantity(array, zero_unit())
示例#2
0
 def new_zeros_array(self, length):
     array = numpy.zeros(length, dtype=self.dtype)
     return new_quantity(array, zero_unit())
示例#3
0
 def __init__(self):
     Quantity.__init__(self, zero_unit())
     self.base = ()
     self.factor = 1
     self.number = 0.0
     self.dtype = 'float64'
示例#4
0
 def __init__(self):
     Quantity.__init__(self, zero_unit())
     self.base = ()
     self.factor = 1
     self.number = 0.0
     self.dtype = 'float64'