Example #1
0
 def __le__(self, other):
     other = MIArray.__value_other(self, other)
     r = MIArray(ArrayMath.lessThanOrEqual(self.array, other))
     return r
Example #2
0
 def __le__(self, other):
     if isinstance(other, MIArray):
         r = MIArray(ArrayMath.lessThanOrEqual(self.array, other.array))
     else:
         r = MIArray(ArrayMath.lessThanOrEqual(self.array, other))
     return r
Example #3
0
 def __le__(self, other):
     other = MIArray.__value_other(self, other)
     r = MIArray(ArrayMath.lessThanOrEqual(self.array, other))        
     return r
Example #4
0
 def __le__(self, other):
     if isinstance(other, MIArray):
         r = MIArray(ArrayMath.lessThanOrEqual(self.array, other.array))
     else:
         r = MIArray(ArrayMath.lessThanOrEqual(self.array, other))
     return r