Beispiel #1
0
 def __init__(self, num_i=10, **kwds):
     SimObject.__init__(self, num_i=num_i, **kwds)
Beispiel #2
0
 def __init__(self, num_i=10, **kwds):
     SimObject.__init__(self, num_i=num_i, **kwds)
     self.v1 = Int1DimArrayAsObject([0] * num_i)
     self.v2 = Int1DimArrayAsObject([0] * num_i)
     self.v3 = Int1DimArrayAsObject([0] * num_i)
Beispiel #3
0
 def __init__(self, num_i=10, **kwds):
     SimObject.__init__(self, num_i=num_i, **kwds)
     self.v1 = Int1DimArrayAsObject([0] * num_i)
     self.v2 = Int1DimArrayAsObject([0] * num_i)
     self.v3 = Int1DimArrayAsObject([0] * num_i)
Beispiel #4
0
 def __init__(self, num_i, seed=None, **kwds):
     SimObject.__init__(self, num_i=num_i, rng=gsl_rng(seed), **kwds)
Beispiel #5
0
 def __init__(self, num_i=10, **kwds):
     SimObject.__init__(self, num_i=num_i, **kwds)
Beispiel #6
0
 def __init__(self, num_i, seed=None, **kwds):
     SimObject.__init__(self, num_i=num_i, rng=gsl_rng(seed), **kwds)