Ejemplo n.º 1
0
 def __imul__(self, other):
     import taichi as ti
     self.assign(ti.mul(self, other))
Ejemplo n.º 2
0
 def __rmul__(self, other):
     import taichi as ti
     return ti.mul(other, self)
Ejemplo n.º 3
0
 def __mul__(self, other):
     import taichi as ti
     return ti.mul(self, other)
Ejemplo n.º 4
0
 def __rmul__(self, other):
     _taichi_skip_traceback = 1
     return ti.mul(other, self)
Ejemplo n.º 5
0
 def __imul__(self, other):
     _taichi_skip_traceback = 1
     self.assign(ti.mul(self, other))
     return self
Ejemplo n.º 6
0
 def __rmul__(self, other):
     import taichi as ti
     _taichi_skip_traceback = 1
     return ti.mul(other, self)