Exemple #1
0
 def __init__(self,
              arg1,
              row_step,
              point_step,
              shape=None,
              dtype=None,
              copy=False):
     lil_matrix.__init__(self,
                         arg1,
                         shape=shape,
                         dtype=self.PyPoint,
                         copy=copy)
     self.nan = self.PyPoint((np.nan, np.nan, np.nan))
     self.format = 'lil'
     self.dtype = self.PyPoint
Exemple #2
0
 def __init__(self, *args, **kwargs):
     lil_matrix.__init__(self, *args)
     self.format = "lil"
     self._model = kwargs["model"] if "model" in kwargs else None
Exemple #3
0
 def __init__(self, *args, **kwargs):
     lil_matrix.__init__(self, *args)
     self.format = "lil"
     self._model = kwargs["model"] if "model" in kwargs else None
	def __init__(self, arg1, row_step, point_step, shape=None, dtype=None, copy=False):
		lil_matrix.__init__(self, arg1, shape=shape, dtype=self.PyPoint, copy=copy)
		self.nan = self.PyPoint((np.nan, np.nan, np.nan))
		self.format = 'lil'
		self.dtype = self.PyPoint
Exemple #5
0
 def __init__(self, *args, **kwargs):
     lil_matrix.__init__(self, *args, **kwargs)