Пример #1
0
 def __lt__(self, other):
     return Math.bimath(self, other, func=Math.lessThan)
Пример #2
0
 def __eq__(self, other):
     return Math.bimath(self, other, func=Math.equal)
Пример #3
0
 def __gt__(self, other):
     return Math.bimath(self, other, func=Math.greaterThan)
Пример #4
0
 def __sub__(self, other):
     """ Subtract all individual components of this array by the other Nodex """
     return Math.bimath(self, other, func=Math.subtract)
Пример #5
0
 def __pow__(self, other):
     """ Square all individual components of this array by the other Nodex """
     return Math.bimath(self, other, func=Math.power)
Пример #6
0
 def __mul__(self, other):
     """ Multiply the other `Nodex` with this instance using * """
     return Math.bimath(self, other, func=Math.multiply)
Пример #7
0
 def __div__(self, other):
     """ Divide this instance by other `Nodex` using / """
     return Math.bimath(self, other, func=Math.divide)
Пример #8
0
 def __mul__(self, other):
     """ Multiply all individual components of this array with the other Nodex """
     return Math.bimath(self, other, func=Math.multiply)
Пример #9
0
 def __pow__(self, other):
     """ Square all individual components of this array by the other Nodex """
     return Math.bimath(self, other, func=Math.power)
Пример #10
0
 def __add__(self, other):
     """ Add all individual components of this array to the other Nodex """
     return Math.bimath(self, other, func=Math.sum)
Пример #11
0
 def __sub__(self, other):
     """ Subtract all individual components of this array by the other Nodex """
     return Math.bimath(self, other, func=Math.subtract)
Пример #12
0
 def __div__(self, other):
     """ Divide this instance by other `Nodex` using / """
     return Math.bimath(self, other, func=Math.divide)
Пример #13
0
 def __pow__(self, other):
     """ Square this instance by other `Nodex` using pow() """
     return Math.bimath(self, other, func=Math.power)
Пример #14
0
 def __mul__(self, other):
     """ Multiply the other `Nodex` with this instance using * """
     return Math.bimath(self, other, func=Math.multiply)
Пример #15
0
 def __sub__(self, other):
     """ Subtract the other `Nodex` from this instance using - """
     return Math.bimath(self, other, func=Math.subtract)
Пример #16
0
 def __div__(self, other):
     """ Divide all individual components of this array by the other Nodex """
     return Math.bimath(self, other, func=Math.divide)
Пример #17
0
 def __sub__(self, other):
     """ Subtract the other `Nodex` from this instance using - """
     return Math.bimath(self, other, func=Math.subtract)
Пример #18
0
 def __eq__(self, other):
     return Math.bimath(self, other, func=Math.equal)
Пример #19
0
 def __pow__(self, other):
     """ Square this instance by other `Nodex` using pow() """
     return Math.bimath(self, other, func=Math.power)
Пример #20
0
 def __ne__(self, other):
     return Math.bimath(self, other, func=Math.notEqual)
Пример #21
0
 def __add__(self, other):
     """ Add all individual components of this array to the other Nodex """
     return Math.bimath(self, other, func=Math.sum)
Пример #22
0
 def __gt__(self, other):
     return Math.bimath(self, other, func=Math.greaterThan)
Пример #23
0
 def __mul__(self, other):
     """ Multiply all individual components of this array with the other Nodex """
     return Math.bimath(self, other, func=Math.multiply)
Пример #24
0
 def __ge__(self, other):
     return Math.bimath(self, other, func=Math.greaterOrEqual)
Пример #25
0
 def __div__(self, other):
     """ Divide all individual components of this array by the other Nodex """
     return Math.bimath(self, other, func=Math.divide)
Пример #26
0
 def __lt__(self, other):
     return Math.bimath(self, other, func=Math.lessThan)
Пример #27
0
 def __ne__(self, other):
     return Math.bimath(self, other, func=Math.notEqual)
Пример #28
0
 def __le__(self, other):
     return Math.bimath(self, other, func=Math.lessOrEqual)
Пример #29
0
 def __ge__(self, other):
     return Math.bimath(self, other, func=Math.greaterOrEqual)
Пример #30
0
 def __add__(self, other):
     """ (+ operator) Add to the other `Nodex` using + """
     return Math.bimath(self, other, func=Math.sum)
Пример #31
0
 def __le__(self, other):
     return Math.bimath(self, other, func=Math.lessOrEqual)
Пример #32
0
 def __add__(self, other):
     """ (+ operator) Add to the other `Nodex` using + """
     return Math.bimath(self, other, func=Math.sum)