示例#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
文件: datatypes.py 项目: BigRoy/nodex
 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
文件: datatypes.py 项目: BigRoy/nodex
 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
文件: datatypes.py 项目: BigRoy/nodex
 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
文件: datatypes.py 项目: BigRoy/nodex
 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
文件: datatypes.py 项目: BigRoy/nodex
 def __div__(self, other):
     """ Divide this instance by other `Nodex` using / """
     return Math.bimath(self, other, func=Math.divide)
示例#13
0
文件: datatypes.py 项目: BigRoy/nodex
 def __pow__(self, other):
     """ Square this instance by other `Nodex` using pow() """
     return Math.bimath(self, other, func=Math.power)
示例#14
0
文件: datatypes.py 项目: BigRoy/nodex
 def __mul__(self, other):
     """ Multiply the other `Nodex` with this instance using * """
     return Math.bimath(self, other, func=Math.multiply)
示例#15
0
文件: datatypes.py 项目: BigRoy/nodex
 def __sub__(self, other):
     """ Subtract the other `Nodex` from this instance using - """
     return Math.bimath(self, other, func=Math.subtract)
示例#16
0
文件: datatypes.py 项目: BigRoy/nodex
 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
文件: datatypes.py 项目: BigRoy/nodex
 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
文件: datatypes.py 项目: BigRoy/nodex
 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
文件: datatypes.py 项目: BigRoy/nodex
 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
文件: datatypes.py 项目: BigRoy/nodex
 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
文件: datatypes.py 项目: BigRoy/nodex
 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
文件: datatypes.py 项目: BigRoy/nodex
 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
文件: datatypes.py 项目: BigRoy/nodex
 def __add__(self, other):
     """ (+ operator) Add to the other `Nodex` using + """
     return Math.bimath(self, other, func=Math.sum)