예제 #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)